summaryrefslogtreecommitdiff
path: root/system/roxterm/roxterm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/roxterm/roxterm.SlackBuild')
-rw-r--r--system/roxterm/roxterm.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/roxterm/roxterm.SlackBuild b/system/roxterm/roxterm.SlackBuild
index f97a5be8f6..e9aca0f814 100644
--- a/system/roxterm/roxterm.SlackBuild
+++ b/system/roxterm/roxterm.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=roxterm
VERSION=${VERSION:-2.9.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -69,13 +69,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export CFLAGS="$SLKCFLAGS -g -Wall -I. -I${CWD} -D_GNU_SOURCE -DHAVE_CONFIG_H"
+export LIBS="-L/usr/lib${LIBDIRSUFFIX}"
+export MAITCHFLAGS="CFLAGS=$CFLAGS;LIBS=$LIBS"
+
./mscript.py configure \
--no-lock \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- CFLAGS="$SLKCFLAGS -g -Wall -I. -I${CWD} -D_GNU_SOURCE -DHAVE_CONFIG_H"
./mscript.py build --no-lock
./mscript.py install --no-lock --destdir=$PKG