summaryrefslogtreecommitdiff
path: root/source/x/freeglut/freeglut.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-09-21 21:27:39 +0000
committerEric Hameleers <alien@slackware.com>2019-09-22 08:59:49 +0200
commit685a0190c82996536e79ac41f529416cb0627042 (patch)
tree05334ec0d715b0cca94f1767c10e05beacd8a37c /source/x/freeglut/freeglut.SlackBuild
parentf5ab9bf2e5270c884a30330bb58917f9e93234c2 (diff)
downloadcurrent-685a0190c82996536e79ac41f529416cb0627042.tar.gz
Sat Sep 21 21:27:39 UTC 201920190921212739
a/kernel-generic-4.19.75-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.75-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.75-x86_64-1.txz: Upgraded. d/gdb-8.3.1-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.75-x86-1.txz: Upgraded. k/kernel-source-4.19.75-noarch-1.txz: Upgraded. n/libqmi-1.24.0-x86_64-1.txz: Upgraded. x/freeglut-3.2.0-x86_64-2.txz: Rebuilt. Fixed missing glut.h header. Thanks to chris.willing. x/vulkan-sdk-1.1.121.0-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/x/freeglut/freeglut.SlackBuild')
-rwxr-xr-xsource/x/freeglut/freeglut.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/x/freeglut/freeglut.SlackBuild b/source/x/freeglut/freeglut.SlackBuild
index f1e10c97..88c0b4b2 100755
--- a/source/x/freeglut/freeglut.SlackBuild
+++ b/source/x/freeglut/freeglut.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=freeglut
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -81,6 +81,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix header installation:
+sed -i -e '76s/SRCS/HEADERS/' CMakeLists.txt
+
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/html
cp -a \
AUTHORS COPYING* INSTALL NEWS README TODO \