aboutsummaryrefslogtreecommitdiff
path: root/textproc/ocaml-yaxi
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-19 02:59:05 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-19 02:59:05 +0000
commit377caa388426fd9bdabe0696cc2c94739c635266 (patch)
tree207e0ac7ad48a3e2ade8f95d2cdeadec5362a18a /textproc/ocaml-yaxi
parentd610bf888417e28bbc6e278ae652940f6204ebad (diff)
downloadports-377caa388426fd9bdabe0696cc2c94739c635266.tar.gz
ports-377caa388426fd9bdabe0696cc2c94739c635266.zip
Notes
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>