svn commit: r374408 - head/dns/unbound

Sergey Matveychuk sem at FreeBSD.org
Tue Dec 9 17:11:48 UTC 2014


Author: sem
Date: Tue Dec  9 17:11:47 2014
New Revision: 374408
URL: https://svnweb.freebsd.org/changeset/ports/374408
QAT: https://qat.redports.org/buildarchive/r374408/

Log:
  - Fix build with python
  - Fix plist
  
  PR:		195803

Modified:
  head/dns/unbound/Makefile
  head/dns/unbound/pkg-plist

Modified: head/dns/unbound/Makefile
==============================================================================
--- head/dns/unbound/Makefile	Tue Dec  9 16:58:53 2014	(r374407)
+++ head/dns/unbound/Makefile	Tue Dec  9 17:11:47 2014	(r374408)
@@ -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
 
 .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 "

Modified: head/dns/unbound/pkg-plist
==============================================================================
--- head/dns/unbound/pkg-plist	Tue Dec  9 16:58:53 2014	(r374407)
+++ head/dns/unbound/pkg-plist	Tue Dec  9 17:11:47 2014	(r374408)
@@ -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


More information about the svn-ports-head mailing list