aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/ohugs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/ohugs/Makefile b/lang/ohugs/Makefile
index 639edc9447e2..e395f8d4791c 100644
--- a/lang/ohugs/Makefile
+++ b/lang/ohugs/Makefile
@@ -22,6 +22,12 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
USE_REINPLACE= yes
USE_BISON= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502108
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
.if defined(WITHOUT_X11)
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch-src::prelude.h
@@ -34,4 +40,4 @@ post-patch:
${WRKSRC}/src/Makefile
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>