summaryrefslogtreecommitdiffstats
path: root/audio/mac/mac.SlackBuild
diff options
context:
space:
mode:
author B. Watson2019-01-08 01:17:42 +0100
committer Willy Sudiarto Raharjo2019-01-12 00:58:40 +0100
commita176a798f2101ea4ffa76b2bc9f6a43e10e34639 (patch)
treeab1512039ad8ba500fdc66dc95adf647018b79a1 /audio/mac/mac.SlackBuild
parentf83d0a635e203174d7b4fff07eca948fec6f0168 (diff)
downloadslackbuilds-a176a798f2101ea4ffa76b2bc9f6a43e10e34639.tar.gz
audio/mac: Fix download link.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 d6a2912baf..eb2e3ada5b 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" \