aboutsummaryrefslogtreecommitdiff
path: root/audio/mac/mac.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mac/mac.SlackBuild')
-rw-r--r--audio/mac/mac.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/audio/mac/mac.SlackBuild b/audio/mac/mac.SlackBuild
index d6a2912bafbf9..eb2e3ada5ba1e 100644
--- a/audio/mac/mac.SlackBuild
+++ b/audio/mac/mac.SlackBuild
@@ -10,6 +10,10 @@
# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20190107 bkw:
+# - download URL went away, use netbsd pkgsrc
+# - add FORCE_SLACK_CFLAGS option (probably nobody needs it)
+
# 20180105 bkw:
# - take over maintenance
# - update for 3.99_u4_b5_s7 (BUILD=1)
@@ -67,11 +71,12 @@ rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then
+ sed -i 's,-O3\>,,' configure
+fi
LDFLAGS="-Wl,-s" \
CFLAGS="$SLKCFLAGS" \