Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2014 17:11:47 +0000 (UTC)
From:      Sergey Matveychuk <sem@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374408 - head/dns/unbound
Message-ID:  <201412091711.sB9HBllC078344@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412091711.sB9HBllC078344>