aboutsummaryrefslogtreecommitdiff
path: root/security/smtpmap
diff options
context:
space:
mode:
Diffstat (limited to 'security/smtpmap')
-rw-r--r--security/smtpmap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/smtpmap/Makefile b/security/smtpmap/Makefile
index 11632a19f264..940ab31dea81 100644
--- a/security/smtpmap/Makefile
+++ b/security/smtpmap/Makefile
@@ -25,6 +25,12 @@ USE_GMAKE= yes
MAKEFILE= makefile
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/makefile.conf
@@ -38,4 +44,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/share/${file} ${DATADIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>