summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-05 11:00:49 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-05 11:00:49 +0000
commit9c8a649e64872ba3ce9c147de9c6563e7ea759de (patch)
treeddff58c3454f1e52edefc64841d48182b8a7ecac /dns
parent- Substitude DISTVERSION in MASTER_SITES (diff)
Remove always-true/false conditions after 9.x, 10.[12] EOL
While here, couple minor fixes portmgr blanket
Notes
Notes: svn path=/head/; revision=430631
Diffstat (limited to 'dns')
-rw-r--r--dns/getdns/Makefile16
-rw-r--r--dns/powerdns-recursor/Makefile9
-rw-r--r--dns/zkt/Makefile9
3 files changed, 8 insertions, 26 deletions
diff --git a/dns/getdns/Makefile b/dns/getdns/Makefile
index 4219764bb667..4ae98b6d9bf8 100644
--- a/dns/getdns/Makefile
+++ b/dns/getdns/Makefile
@@ -44,22 +44,14 @@ LIBUV_CONFIGURE_WITH= libuv
LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent2
LIBEVENT_CONFIGURE_WITH=libevent
-.include <bsd.port.options.mk>
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} <= 1000000
-CONFIGURE_ARGS+= --disable-gost
-.endif
-
post-patch:
${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \
-e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
- (cd ${WRKSRC}/spec/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
-.endif
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns.so.*
-.include <bsd.port.post.mk>
+post-install-EXAMPLES-on:
+ (cd ${WRKSRC}/spec/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
+
+.include <bsd.port.mk>
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index 9a453858cdd5..d2f21ff737ca 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -54,11 +54,4 @@ USERS= pdns_recursor
GROUPS= pdns
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1000000 && ${ARCH} == i386
-#BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops
-LDFLAGS+= -latomic
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/dns/zkt/Makefile b/dns/zkt/Makefile
index 7784b0275a93..df2e552d5b9f 100644
--- a/dns/zkt/Makefile
+++ b/dns/zkt/Makefile
@@ -13,11 +13,8 @@ COMMENT= Tool to manage keys and signatures for DNSSEC-zones
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 1000055
-BUILD_DEPENDS= dnssec-signzone:dns/bind99
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-.endif
+BUILD_DEPENDS= dnssec-signzone:dns/bind99
+RUN_DEPENDS:= ${BUILD_DEPENDS}
DIR_NAMED_CONF?= /etc/namedb
GNU_CONFIGURE= yes
@@ -38,4 +35,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/man/zkt-ls.8 ${STAGEDIR}${PREFIX}/man/man8/
${INSTALL_MAN} ${WRKSRC}/man/zkt-signer.8 ${STAGEDIR}${PREFIX}/man/man8/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>