summaryrefslogtreecommitdiff
path: root/office/texmaker/texmaker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/texmaker/texmaker.SlackBuild')
-rw-r--r--office/texmaker/texmaker.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild
index ae67178fe4..718417bff6 100644
--- a/office/texmaker/texmaker.SlackBuild
+++ b/office/texmaker/texmaker.SlackBuild
@@ -5,16 +5,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=texmaker
-VERSION=${VERSION:-1.9.9}
+VERSION=2.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,7 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake -unix PREFIX=/usr -o Makefile $PRGNAM.pro
+qmake -unix PREFIX=/usr LIBS+="-L/usr/lib${LIBDIRSUFFIX}" -o Makefile $PRGNAM.pro
make \
CFLAGS="-pipe $SLKCFLAGS -w -D_REENTRANT \$(DEFINES)" \