diff --git a/system/st/st.SlackBuild b/system/st/st.SlackBuild index 35e8d6225f..ac59ed740a 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 \