summaryrefslogtreecommitdiff
path: root/network/kea/kea.SlackBuild
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2017-05-21 11:57:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:29:29 +0700
commiteaf11ce24fe7cfa05e3bfdf2c985da8afe8ec892 (patch)
treeda7252fb367f80452240328ad7d3d4f04c1bb02f /network/kea/kea.SlackBuild
parent23746ccc8683490a78d09c4df3e1ec58f71da97a (diff)
downloadslackbuilds-eaf11ce24fe7cfa05e3bfdf2c985da8afe8ec892.tar.gz
network/kea: Add support for botan.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/kea/kea.SlackBuild')
-rw-r--r--network/kea/kea.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/kea/kea.SlackBuild b/network/kea/kea.SlackBuild
index e68574535f..3d70891b8e 100644
--- a/network/kea/kea.SlackBuild
+++ b/network/kea/kea.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=kea
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,6 +55,7 @@ else
fi
if [ -x /usr/bin/pg_config ]; then PGSQL=""; else PGSQL="out"; fi
+if [ -x /usr/bin/botan ]; then OPENSSL="out"; else OPENSSL=""; fi
set -e
@@ -71,6 +72,7 @@ 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 {} \;
+CPPFLAGS="-std=gnu++11" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,9 +83,10 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-log4cplus \
- --with-openssl \
--with-dhcp-mysql \
+ --with${OPENSSL}-openssl \
--with${PGSQL}-dhcp-pgsql \
+ --enable-shell \
--disable-static \
--build=$ARCH-slackware-linux