aboutsummaryrefslogtreecommitdiff
path: root/cad/oregano/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/oregano/Makefile')
-rw-r--r--cad/oregano/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 30f63abc9e31..7eca2186d9d3 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -27,7 +27,13 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
INSTALLS_OMF= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>