summaryrefslogtreecommitdiff
path: root/libraries/miniupnpc/miniupnpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/miniupnpc/miniupnpc.SlackBuild')
-rw-r--r--libraries/miniupnpc/miniupnpc.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/miniupnpc/miniupnpc.SlackBuild b/libraries/miniupnpc/miniupnpc.SlackBuild
index 6ea8d4b281..628990f1c1 100644
--- a/libraries/miniupnpc/miniupnpc.SlackBuild
+++ b/libraries/miniupnpc/miniupnpc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for miniupnpc
-# Copyright 2012-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2012-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=miniupnpc
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,7 +72,7 @@ find -L . \
# Slackware specific info.
patch -p1 < $CWD/slackware-version.patch
sed -i 's|share/man|man|' Makefile
-sed -i -e 's|\.a"|\.so"|' -e "s|version=\".*\"|version=\"$VERSION\"|" setup.py
+sed -i "s|lib${PRGNAM}\.a|lib${PRGNAM}\.so|" setup.py
# Upstream Cmake causes build problems. We're going to use the makefile instead.
CFLAGS="$SLKCFLAGS" LIBDIR="lib${LIBDIRSUFFIX}" make