summaryrefslogtreecommitdiff
path: root/ham/cwstation
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-07-27 17:38:22 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commita72c41671932e2d86fb5154ebb24e02bd54cdd67 (patch)
tree1246c5e7dd7c0e2df465578f9077f62558f34b97 /ham/cwstation
parentfd5bdaf92a1ff258538ce5730ba6921ee780e517 (diff)
downloadslackbuilds-a72c41671932e2d86fb5154ebb24e02bd54cdd67.tar.gz
ham/cwstation: Modified SlackBuild.
Updated to fix build with automake-1.14 on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'ham/cwstation')
-rw-r--r--ham/cwstation/cwstation.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/ham/cwstation/cwstation.SlackBuild b/ham/cwstation/cwstation.SlackBuild
index 42f4fb5fc6..99ce5b4748 100644
--- a/ham/cwstation/cwstation.SlackBuild
+++ b/ham/cwstation/cwstation.SlackBuild
@@ -21,7 +21,6 @@ CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-AUTOMAKE=/usr/share/automake-1.11
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -46,13 +45,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-# Delete links to /usr/share/automake-1.8
-rm COPYING
-rm INSTALL
-rm depcomp
-rm install-sh
-rm missing
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -60,7 +52,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Create links to /usr/share/automake-1.11
+# Replace links to /usr/share/automake-1.8
+rm COPYING
+rm INSTALL
+rm depcomp
+rm install-sh
+rm missing
+AUTOMAKE=/usr/share/automake-1.14
ln -s $AUTOMAKE/COPYING COPYING
ln -s $AUTOMAKE/INSTALL INSTALL
ln -s $AUTOMAKE/depcomp depcomp