aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2014-12-10 01:11:47 +0800
committersem <sem@FreeBSD.org>2014-12-10 01:11:47 +0800
commit1102e0504f35e26f8a457d2710223ff6e6220e83 (patch)
treeb063fb88c728f1858e8d4518cc5c8bff0fa6e7ac /dns
parentb863e23243a1760bb73762b204abc1f22984f4f0 (diff)
downloadfreebsd-ports-gnome-1102e0504f35e26f8a457d2710223ff6e6220e83.tar.gz
freebsd-ports-gnome-1102e0504f35e26f8a457d2710223ff6e6220e83.tar.zst
freebsd-ports-gnome-1102e0504f35e26f8a457d2710223ff6e6220e83.zip
- Fix build with python
- Fix plist PR: 195803
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/Makefile5
-rw-r--r--dns/unbound/pkg-plist3
2 files changed, 3 insertions, 5 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 11c160d01074..df49fc46d925 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -3,6 +3,7 @@
PORTNAME= unbound
PORTVERSION= 1.5.1
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
@@ -46,9 +47,9 @@ STRIP_FILES= .libs/libunbound.so unbound-checkconf unbound \
.if ${PORT_OPTIONS:MPYTHON}
USES+= python:2
-CONFIGURE_ARGS+=--with-pyunbound=yes --with-pythonmodule=yes
+CONFIGURE_ARGS+=--with-pyunbound=yes --with-pythonmodule=yes LDFLAGS="-L${LOCALBASE}/lib"
BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
-BROKEN= Does not build
+STRIP_FILES+= .libs/_unbound.so
PYTHON=
.else
PYTHON= "@comment "
diff --git a/dns/unbound/pkg-plist b/dns/unbound/pkg-plist
index 8277cab7eeb6..4524d6e9ad43 100644
--- a/dns/unbound/pkg-plist
+++ b/dns/unbound/pkg-plist
@@ -48,10 +48,7 @@ sbin/unbound-checkconf
sbin/unbound-control
sbin/unbound-control-setup
sbin/unbound-host
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.a
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.2
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.2.3.3
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py
%%MUNIN%%etc/munin/plugins/unbound_munin_by_class