summaryrefslogtreecommitdiffstats
path: root/source/l/QScintilla/QScintilla.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/QScintilla/QScintilla.SlackBuild')
-rwxr-xr-xsource/l/QScintilla/QScintilla.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/l/QScintilla/QScintilla.SlackBuild b/source/l/QScintilla/QScintilla.SlackBuild
index bfd3d6416..98b08390b 100755
--- a/source/l/QScintilla/QScintilla.SlackBuild
+++ b/source/l/QScintilla/QScintilla.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=QScintilla
SRCNAM=QScintilla_src
VERSION=${VERSION:-$(echo ${SRCNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -85,7 +85,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Prevent Qsci from failing to generate the bindings:
+# Prevent Qsci from failing to generate the bindings.
+# If there's a QScintilla package already installed that provides the needed
+# library, then this isn't strictly needed. It doesn't hurt, though.
export LD_LIBRARY_PATH=$TMP/${SRCNAM}-$VERSION/src
# Define QMAKEFEATURES to that we can re-use already built libs
@@ -111,7 +113,7 @@ cd build
make $NUMJOBS || exit 1
# Install:
-cd ../src
+cd ../../src
make DESTDIR=$PKG INSTALL_ROOT=$PKG install || exit 1
cd ../designer
make DESTDIR=$PKG INSTALL_ROOT=$PKG install || exit 1