aboutsummaryrefslogtreecommitdiff
path: root/news/nntpswitch
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-11-03 21:57:47 +0000
committerClement Laforet <clement@FreeBSD.org>2005-11-03 21:57:47 +0000
commit10ed4fb32d116d1b8a5a7b639251b756d6dd9c8e (patch)
tree0fe7ab93c16256844a03ea0bd72c9543b84a0242 /news/nntpswitch
parent36d085261deff69cba3bc5b51a13ae8885562d16 (diff)
downloadports-10ed4fb32d116d1b8a5a7b639251b756d6dd9c8e.tar.gz
ports-10ed4fb32d116d1b8a5a7b639251b756d6dd9c8e.zip
Notes
Diffstat (limited to 'news/nntpswitch')
-rw-r--r--news/nntpswitch/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/news/nntpswitch/Makefile b/news/nntpswitch/Makefile
index e65bc8f93b40..5446461a6e10 100644
--- a/news/nntpswitch/Makefile
+++ b/news/nntpswitch/Makefile
@@ -55,6 +55,11 @@ ALL_TARGET+= ldap
PLIST_FILES+= lib/${PORTNAME}/auth_ldap.so
.endif
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500029
+BROKEN= "${PORTNAME} requires atoll(3)"
+.endif
+
do-configure:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/nntpswitch.conf.in
@@ -65,4 +70,5 @@ post-install:
.endfor
${INSTALL_DATA} ${WRKSRC}/nntpswitch.conf-dist ${ETC_DIR}/
${INSTALL_SCRIPT} ${FILESDIR}/nntpswitch.sh ${PREFIX}/etc/rc.d/nntpswitch.sh-dist
-.include <bsd.port.mk>
+
+.include <bsd.port.post.mk>