summaryrefslogtreecommitdiffstats
path: root/source/l/QScintilla/QScintilla.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-12-15 20:52:33 +0000
committer Eric Hameleers <alien@slackware.com>2023-12-15 22:28:21 +0100
commit146eed0ebd1ec0dde8b1c2a80e885a3274fd2c92 (patch)
treeef22ad71302d56998b324c738da846b4eb206663 /source/l/QScintilla/QScintilla.SlackBuild
parent6c312c24797c86b892beb04f59c95a9193fe0d88 (diff)
downloadcurrent-146eed0ebd1ec0dde8b1c2a80e885a3274fd2c92.tar.gz
current-146eed0ebd1ec0dde8b1c2a80e885a3274fd2c92.tar.xz
Fri Dec 15 20:52:33 UTC 202320231215205233
l/QScintilla-2.14.1-x86_64-2.txz: Rebuilt. Fixed install section of the build script. Thanks to Petri Kaukasoina. l/libxml2-2.12.3-x86_64-3.txz: Rebuilt. Apply --with-legacy and --with-ftp to both builds. Thanks to Stuart Winter. l/vte-0.74.2-x86_64-1.txz: Upgraded.
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