summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2014-12-09 17:11:47 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2014-12-09 17:11:47 +0000
commitd3be893a310318f7fdfa8f9589f44044382e7298 (patch)
treeb063fb88c728f1858e8d4518cc5c8bff0fa6e7ac /dns
parentUse new GIMP master sites macro. (diff)
- Fix build with python
- Fix plist PR: 195803
Notes
Notes: svn path=/head/; revision=374408
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