aboutsummaryrefslogtreecommitdiff
path: root/lang/ocaml/Makefile
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-05-21 19:57:07 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-05-21 19:57:07 +0000
commit433265801922393e8b7989ad133e9bfafdffa46d (patch)
tree495e2f35e892f8b9d5bdd29a775616b563f28639 /lang/ocaml/Makefile
parent718b940f32828b2924224f389a71c94533c4659c (diff)
Notes
Diffstat (limited to 'lang/ocaml/Makefile')
-rw-r--r--lang/ocaml/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 066dc2807231..77fc9c3655dc 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ocaml
PORTVERSION= 3.08.3
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/distrib/${DISTNAME:R}/ \
ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME:R}/ \
@@ -132,17 +133,10 @@ post-install:
ocamllex.opt ocamlopt.opt ocamlrun ocamlyacc
@${STRIP_CMD} ${PREFIX}/bin/${prog}
.endfor
-# XXX ugly hack to fix permissions. I could not find the proper
-# Makefile entry
-
+# XXX ugly hack to fix permissions.
@${FIND} ${EXAMPLESDIR} -type f -print0 | \
${XARGS} -0 -n 5 -x \
${CHMOD} ${SHAREMODE}
- @${FIND} -d ${EXAMPLESDIR} -type d -print0 | \
- ${XARGS} -0 -n 5 -x \
- ${CHMOD} ${SHAREMODE}
- @${FIND} -s ${EXAMPLESDIR} -type d -print0 | \
- ${XARGS} -0 -n 5 -x \
- ${CHMOD} a+x
+ @${CHMOD} u+w ${PREFIX}/lib/ocaml/ld.conf
.include <bsd.port.post.mk>