aboutsummaryrefslogtreecommitdiff
path: root/textproc/ocaml-yaxi
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ocaml-yaxi')
-rw-r--r--textproc/ocaml-yaxi/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/ocaml-yaxi/Makefile b/textproc/ocaml-yaxi/Makefile
index 4bde78cd100d..06f1c503115f 100644
--- a/textproc/ocaml-yaxi/Makefile
+++ b/textproc/ocaml-yaxi/Makefile
@@ -33,10 +33,16 @@ PLIST_FILES= bin/yaxsltproc
PKGDEINSTALL= ${PKGINSTALL}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-install:
@${FIND} ${PREFIX}/lib/ocaml/site-lib/${PORTNAME} -type f | \
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${PORTNAME}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ocamlfind remove ${PORTNAME} 2>/dev/null || true" >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>