From 15a9fc08488287743d23674d1a4ee4bb63f72a69 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 1 Feb 2019 00:47:40 +0700 Subject: system/st: Update script. Signed-off-by: Willy Sudiarto Raharjo --- system/st/st.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system/st') diff --git a/system/st/st.SlackBuild b/system/st/st.SlackBuild index 35e8d6225f5a..ac59ed740a24 100644 --- a/system/st/st.SlackBuild +++ b/system/st/st.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=st VERSION=${VERSION:-0.8.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -78,6 +78,8 @@ done # Remove "tic" line from Makefile - we cannot do this here! sed -i "/^\t@tic/d" Makefile +[ -f "$CWD/config.h" ] && cp -f $CWD/config.h config.h + CFLAGS="$SLKCFLAGS" make && \ make install \ PREFIX=/usr \ -- cgit v1.2.3