summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-21 07:39:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:39:47 -0500
commitc0203ee1ddbcc3efae439241abc6214d44121533 (patch)
tree84491f0030aa694bac6e247fe54e6c9bdffd7c1d
parent7acc6dbdab1e47fc6f38ae350b448c4480acf13f (diff)
downloadslackbuilds-c0203ee1ddbcc3efae439241abc6214d44121533.tar.gz
network/openl2tp: Disabled a "warning-as-error" that breaks build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/openl2tp/openl2tp.SlackBuild5
-rw-r--r--network/openl2tp/openl2tp.info2
2 files changed, 4 insertions, 3 deletions
diff --git a/network/openl2tp/openl2tp.SlackBuild b/network/openl2tp/openl2tp.SlackBuild
index b2f985fba3..d71422247f 100644
--- a/network/openl2tp/openl2tp.SlackBuild
+++ b/network/openl2tp/openl2tp.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=openl2tp
VERSION=${VERSION:-1.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,7 +55,8 @@ find . \
patch -p1 < $CWD/Makefile.diff
-make OPT_CFLAGS="$SLKCFLAGS" SYS_LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make OPT_CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \
+ SYS_LIBDIR=/usr/lib${LIBDIRSUFFIX}
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/network/openl2tp/openl2tp.info b/network/openl2tp/openl2tp.info
index d1b77d36a9..d38d0ca354 100644
--- a/network/openl2tp/openl2tp.info
+++ b/network/openl2tp/openl2tp.info
@@ -1,7 +1,7 @@
PRGNAM="openl2tp"
VERSION="1.8"
HOMEPAGE="http://www.openl2tp.org/"
-DOWNLOAD="http://sourceforge.net/projects/openl2tp/files/openl2tp/1.8/openl2tp-1.8.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/openl2tp/openl2tp-1.8.tar.gz"
MD5SUM="e3d08dedfb9e6a9a1e24f6766f6dadd0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""