aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-24 18:34:16 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-24 18:34:16 +0000
commit37f54e0f66813dcddb3659fd7810198377792a1e (patch)
tree14d88ff45e3710ccf80308fb8ce1a086cd5f11ae /dns/powerdns
parent04ad7b544504ae333b1f3574897902b386bde4b4 (diff)
downloadports-37f54e0f66813dcddb3659fd7810198377792a1e.tar.gz
ports-37f54e0f66813dcddb3659fd7810198377792a1e.zip
Notes
Diffstat (limited to 'dns/powerdns')
-rw-r--r--dns/powerdns/Makefile18
-rw-r--r--dns/powerdns/pkg-plist21
2 files changed, 6 insertions, 33 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 4ff6efb282e5..b273c6632850 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -2,7 +2,7 @@
PORTNAME= powerdns
PORTVERSION= 3.3.1
-PORTREVISION?= 2
+PORTREVISION= 3
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/
DISTNAME= pdns-${PORTVERSION}
@@ -16,13 +16,14 @@ LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs
CONFLICTS= powerdns-devel-[2-3].[0-9]*
-USES= gmake lua:51 pkgconfig
+USES= gmake libtool lua:51 pkgconfig
USE_SUBMAKE= YES
-USE_AUTOTOOLS= libtool
-USE_LDCONFIG= YES
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --with-modules="" \
+CONFIGURE_ARGS= --disable-static \
+ --with-modules="" \
--with-dynmodules="pipe ${MODULES}" \
--sysconfdir="${PREFIX}/etc/pdns" \
--with-boost="${LOCALBASE}"
@@ -197,12 +198,5 @@ post-install:
.for i in pdns.conf
${INSTALL_DATA} ${FILESDIR}/$i ${STAGEDIR}${EXAMPLESDIR}/
.endfor
-.for j in libgpgsqlbackend.so libgmysqlbackend.so \
- libgsqlite3backend.so libldapbackend.so libopendbxbackend.so \
- libgeobackend.so libpipebackend.so
- @if ([ -f ${STAGEDIR}${PREFIX}/lib/$j ] && [ ! -f ${STAGEDIR}${PREFIX}/lib/$j.0 ]); then \
- ${LN} -sf ${PREFIX}/lib/$j ${STAGEDIR}${PREFIX}/lib/$j.0; \
- fi
-.endfor
.include <bsd.port.mk>
diff --git a/dns/powerdns/pkg-plist b/dns/powerdns/pkg-plist
index eda7fcc6ddfc..4e1b870a8ac1 100644
--- a/dns/powerdns/pkg-plist
+++ b/dns/powerdns/pkg-plist
@@ -12,34 +12,13 @@ sbin/pdns_server
%%TOOLS%%bin/dnswasher
%%TOOLS%%bin/nproxy
%%TOOLS%%bin/nsec3dig
-%%PGSQL%%lib/libgpgsqlbackend.a
-%%PGSQL%%lib/libgpgsqlbackend.la
%%PGSQL%%lib/libgpgsqlbackend.so
-%%PGSQL%%lib/libgpgsqlbackend.so.0
-%%MYSQL%%lib/libgmysqlbackend.a
-%%MYSQL%%lib/libgmysqlbackend.la
%%MYSQL%%lib/libgmysqlbackend.so
-%%MYSQL%%lib/libgmysqlbackend.so.0
-%%SQLITE3%%lib/libgsqlite3backend.a
-%%SQLITE3%%lib/libgsqlite3backend.la
%%SQLITE3%%lib/libgsqlite3backend.so
-%%SQLITE3%%lib/libgsqlite3backend.so.0
-%%OPENLDAP%%lib/libldapbackend.a
-%%OPENLDAP%%lib/libldapbackend.la
%%OPENLDAP%%lib/libldapbackend.so
-%%OPENLDAP%%lib/libldapbackend.so.0
-%%OPENDBX%%lib/libopendbxbackend.a
-%%OPENDBX%%lib/libopendbxbackend.la
%%OPENDBX%%lib/libopendbxbackend.so
-%%OPENDBX%%lib/libopendbxbackend.so.0
-%%GEO%%lib/libgeobackend.a
-%%GEO%%lib/libgeobackend.la
%%GEO%%lib/libgeobackend.so
-%%GEO%%lib/libgeobackend.so.0
-lib/libpipebackend.a
-lib/libpipebackend.la
lib/libpipebackend.so
-lib/libpipebackend.so.0
%%TOOLS%%man/man1/dnstcpbench.1.gz
%%TOOLS%%man/man8/dnsreplay.8.gz
%%TOOLS%%man/man8/dnsscope.8.gz