summaryrefslogtreecommitdiffstats
path: root/network/drawterm/drawterm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/drawterm/drawterm.SlackBuild')
-rw-r--r--network/drawterm/drawterm.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/drawterm/drawterm.SlackBuild b/network/drawterm/drawterm.SlackBuild
index 10046a6b9a..7750f55164 100644
--- a/network/drawterm/drawterm.SlackBuild
+++ b/network/drawterm/drawterm.SlackBuild
@@ -56,7 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -67,7 +67,9 @@ find -L . \
# The makefile uses the build host's uname to determine the target architecture,
# and won't handle our CFLAGS, and can't 'make install'.
-CONF=unix make
+# (we can fool it a bit with CC though - Dave)
+CONF=unix make \
+CC="gcc $SLKCFLAGS -fcommon"
install -D -t $PKG/usr/bin -m755 drawterm
install -D -t $PKG/usr/man/man1 -m755 drawterm.1