aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-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>