aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2015-05-26 19:58:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:33 +0700
commitdc9b6984eb157d0a4a3e1aacaf675dda019d4636 (patch)
tree47c6f965c46650d7dbf99db671432cc6c6598177 /system
parent08b7a45d066213d1df6be61588c483aac35ca1f0 (diff)
system/roxterm: Fix building on multilib.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
Diffstat (limited to 'system')
-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 f97a5be8f6aa9..e9aca0f814019 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