summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2019-11-05 12:26:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-09 12:51:17 +0700
commitcf8cf1ae6242b8a4527783b9b5d4ac71f315b7d5 (patch)
treebcb74b0fe894cfb72602edf19b27440d3312f5fd /network
parent281c6f1f84969601efda9a27e76ec4d6d07651a1 (diff)
downloadslackbuilds-cf8cf1ae6242b8a4527783b9b5d4ac71f315b7d5.tar.gz
network/packETH: Small fix and disable warnings-as-errors.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/packETH/packETH.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/packETH/packETH.SlackBuild b/network/packETH/packETH.SlackBuild
index 13888a3401..67f0251bdc 100644
--- a/network/packETH/packETH.SlackBuild
+++ b/network/packETH/packETH.SlackBuild
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|\ -Werror||" cli/Makefile
+
sed -i 's/^LIBS=/LIBS+=/' Makefile.am
autoreconf -f -i