summaryrefslogtreecommitdiffstats
path: root/source/d/scons
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-03-25 22:53:06 +0000
committer Eric Hameleers <alien@slackware.com>2020-03-26 08:59:49 +0100
commitf1c067fa42f709006ec1867a73a30f6517010f56 (patch)
tree4a80f91d8c3b8024192ac316f9da75feb74d4e4a /source/d/scons
parent62f75c0a4e3cb8292cc39d62d6ac8a17f0f40ef9 (diff)
downloadcurrent-f1c067fa42f709006ec1867a73a30f6517010f56.tar.gz
current-f1c067fa42f709006ec1867a73a30f6517010f56.tar.xz
Wed Mar 25 22:53:06 UTC 202020200325225306
a/e2fsprogs-1.45.6-x86_64-2.txz: Rebuilt. Fixed RELEASE-NOTES dangling symlink. a/kernel-generic-5.4.28-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.28-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.28-x86_64-1.txz: Upgraded. ap/nano-4.9-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.28-x86-1.txz: Upgraded. d/llvm-10.0.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. d/rust-1.42.0-x86_64-2.txz: Rebuilt. Recompiled against llvm-10.0.0. d/scons-3.1.2-x86_64-3.txz: Rebuilt. Fixed shebangs for python3, removed useless .bat files. Thanks to teeemcee and ponce. d/vala-0.48.2-x86_64-1.txz: Upgraded. k/kernel-source-5.4.28-noarch-1.txz: Upgraded. l/libgsf-1.14.47-x86_64-1.txz: Upgraded. l/neon-0.31.0-x86_64-1.txz: Upgraded. l/netpbm-10.89.03-x86_64-1.txz: Upgraded. l/qt5-5.13.2-x86_64-3.txz: Rebuilt. Recompiled against llvm-10.0.0. x/mesa-20.0.2-x86_64-2.txz: Rebuilt. Recompiled against llvm-10.0.0. xfce/thunar-1.8.14-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/d/scons')
-rwxr-xr-xsource/d/scons/scons.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/d/scons/scons.SlackBuild b/source/d/scons/scons.SlackBuild
index c62599b7..58c43bdf 100755
--- a/source/d/scons/scons.SlackBuild
+++ b/source/d/scons/scons.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2015 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=scons
VERSION=${VERSION:-$(echo scons-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,12 @@ python3 setup.py install \
--standard-lib \
--root=$PKG || exit 1
+# Fix shebangs for python3:
+sed -i "s|env python$|env python3|" $PKG/usr/bin/*
+
+# Get rid of MS-DOS batch files:
+rm -f $PKG/usr/bin/*.bat
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null