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.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild
index cf0a4d8722..86aa3144a1 100644
--- a/office/texmaker/texmaker.SlackBuild
+++ b/office/texmaker/texmaker.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=texmaker
-VERSION=${VERSION:-3.4.1}
+VERSION=${VERSION:-3.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,11 +51,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake PREFIX=/usr LIBS+="-L/usr/lib${LIBDIRSUFFIX}" -o Makefile $PRGNAM.pro
+qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $PRGNAM.pro
-make \
- CFLAGS="-pipe $SLKCFLAGS -w -D_REENTRANT \$(DEFINES)" \
- CXXFLAGS="-pipe $SLKCFLAGS -w -D_REENTRANT \$(DEFINES)"
+make
make install INSTALL_ROOT=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \