summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/hs-alex/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/hs-alex/Makefile b/devel/hs-alex/Makefile
index a18b04d2ea5a..8476c684320c 100644
--- a/devel/hs-alex/Makefile
+++ b/devel/hs-alex/Makefile
@@ -31,6 +31,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_SUB= PORTVERSION="${PORTVERSION}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 503001
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if !defined(NOPORTDOCS)
post-build:
${GMAKE} -C ${WRKSRC}/alex/doc ps
@@ -44,4 +50,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/alex/doc/alex.ps ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>