summaryrefslogtreecommitdiffstats
path: root/shell-term-fm
diff options
context:
space:
mode:
authorIsmael Luceno2019-09-17 19:46:36 +0200
committerIsmael Luceno2019-09-17 20:57:50 +0200
commit768a433f71991bfcc3ee7e8ecba3572a801068c0 (patch)
treee7c3e91c76df12b451803a059b9ba6546a2aeda8 /shell-term-fm
parentcacb25f40445267440e8d0d4e65fe439bc4e6c5d (diff)
st: Fix editing of config.mk
Diffstat (limited to 'shell-term-fm')
-rw-r--r--shell-term-fm/st/HISTORY1
-rwxr-xr-xshell-term-fm/st/INSTALL2
-rwxr-xr-xshell-term-fm/st/PRE_BUILD1
3 files changed, 2 insertions, 2 deletions
diff --git a/shell-term-fm/st/HISTORY b/shell-term-fm/st/HISTORY
index 4341e6bcf6..ec4ebd1fce 100644
--- a/shell-term-fm/st/HISTORY
+++ b/shell-term-fm/st/HISTORY
@@ -1,5 +1,6 @@
2019-09-17 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 0.8.2
+ * INSTALL, PRE_BUILD: Avoid editing config.mk
2018-04-17 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 0.8.1, http -> https
diff --git a/shell-term-fm/st/INSTALL b/shell-term-fm/st/INSTALL
index eaec9ef5df..1f63c40699 100755
--- a/shell-term-fm/st/INSTALL
+++ b/shell-term-fm/st/INSTALL
@@ -1,4 +1,4 @@
-default_install &&
+make install PREFIX="$INSTALL_ROOT/usr" &&
if [[ "${ST_CONFIG}" == "y" ]]; then
mkdir -p ${INSTALL_ROOT}/usr/share/doc/st &&
cp config.def.h ${INSTALL_ROOT}/usr/share/doc/st/
diff --git a/shell-term-fm/st/PRE_BUILD b/shell-term-fm/st/PRE_BUILD
index 13e39beaf9..6298076b9d 100755
--- a/shell-term-fm/st/PRE_BUILD
+++ b/shell-term-fm/st/PRE_BUILD
@@ -1,6 +1,5 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
-sed -e "s:/local::" -e "/CC/c CC = gcc --std=c99" -i config.mk &&
for i in "$SPELL_DIRECTORY"/patches/*; do
desc="$(sed -nr '/^Subject: /!d;s@[^ ]* *(\[[A-Za-z0-9 ]*\] *)*@@;p;q' "$i")" &&