summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/ocaml-camomile/Makefile2
-rw-r--r--devel/ocaml-pcre/Makefile2
-rw-r--r--devel/ocaml-sdl/Makefile2
-rw-r--r--devel/ocaml-ulex/Makefile2
-rw-r--r--ftp/ocaml-ocurl/Makefile2
-rw-r--r--graphics/ocaml-images/Makefile2
-rw-r--r--lang/ocaml/Makefile12
-rw-r--r--lang/ocaml/pkg-plist68
-rw-r--r--textproc/ocaml-expat/Makefile2
9 files changed, 37 insertions, 57 deletions
diff --git a/devel/ocaml-camomile/Makefile b/devel/ocaml-camomile/Makefile
index 0f87e52..7d93811 100644
--- a/devel/ocaml-camomile/Makefile
+++ b/devel/ocaml-camomile/Makefile
@@ -19,8 +19,6 @@ COMMENT= A comprehensive Unicode library for objective caml language
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
-BROKEN= Changes permissions of installed file
-
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/devel/ocaml-pcre/Makefile b/devel/ocaml-pcre/Makefile
index a410638..0fc9269 100644
--- a/devel/ocaml-pcre/Makefile
+++ b/devel/ocaml-pcre/Makefile
@@ -20,8 +20,6 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre-utf8
-BROKEN= Changes permissions of installed file
-
USE_GMAKE= yes
MAKE_ENV= OCAML_LIB_INSTALL="${PREFIX}/lib/ocaml/site-lib/pcre" \
INCDIRS="${LOCALBASE}/include" LIBDIRS="${LOCALBASE}/lib"
diff --git a/devel/ocaml-sdl/Makefile b/devel/ocaml-sdl/Makefile
index ff5d28f..de983b2 100644
--- a/devel/ocaml-sdl/Makefile
+++ b/devel/ocaml-sdl/Makefile
@@ -21,8 +21,6 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib \
lablgl:${PORTSDIR}/graphics/ocaml-lablgl
-BROKEN= Changes permissions of installed file
-
USE_SDL= sdl ttf image mixer
USE_AUTOCONF_VER=259
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/devel/ocaml-ulex/Makefile b/devel/ocaml-ulex/Makefile
index 732bbee..079c9a4 100644
--- a/devel/ocaml-ulex/Makefile
+++ b/devel/ocaml-ulex/Makefile
@@ -20,8 +20,6 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
-BROKEN= Changes permissions of installed file
-
USE_GMAKE= yes
ALL_TARGET= all all.opt
diff --git a/ftp/ocaml-ocurl/Makefile b/ftp/ocaml-ocurl/Makefile
index d737f94..75e14a63 100644
--- a/ftp/ocaml-ocurl/Makefile
+++ b/ftp/ocaml-ocurl/Makefile
@@ -20,8 +20,6 @@ RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
-BROKEN= Changes permissions of installed file
-
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-findlib"
diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile
index 851df5c..3760f66 100644
--- a/graphics/ocaml-images/Makefile
+++ b/graphics/ocaml-images/Makefile
@@ -29,8 +29,6 @@ LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
-BROKEN= Changes permissions of installed file
-
USE_XPM= yes
USE_FREETYPE= yes
GNU_CONFIGURE= yes
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 066dc28..77fc9c3 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>
diff --git a/lang/ocaml/pkg-plist b/lang/ocaml/pkg-plist
index 50ef163..b625423 100644
--- a/lang/ocaml/pkg-plist
+++ b/lang/ocaml/pkg-plist
@@ -887,40 +887,40 @@ lib/ocaml/weak.cmx
lib/ocaml/weak.ml
lib/ocaml/weak.mli
%%PROF%%lib/ocaml/weak.p.cmx
-%%TK%%share/examples/ocaml/camltk/Makefile
-%%TK%%share/examples/ocaml/camltk/Makefile.nt
-%%TK%%share/examples/ocaml/camltk/addition.ml
-%%TK%%share/examples/ocaml/camltk/eyes.ml
-%%TK%%share/examples/ocaml/camltk/fileinput.ml
-%%TK%%share/examples/ocaml/camltk/fileopen.ml
-%%TK%%share/examples/ocaml/camltk/helloworld.ml
-%%TK%%share/examples/ocaml/camltk/images/CamlBook.gif
-%%TK%%share/examples/ocaml/camltk/images/Lambda2.back.gif
-%%TK%%share/examples/ocaml/camltk/images/dojoji.back.gif
-%%TK%%share/examples/ocaml/camltk/jptest.ml
-%%TK%%share/examples/ocaml/camltk/mytext.ml
-%%TK%%share/examples/ocaml/camltk/socketinput.ml
-%%TK%%share/examples/ocaml/camltk/taddition.ml
-%%TK%%share/examples/ocaml/camltk/tetris.ml
-%%TK%%share/examples/ocaml/camltk/text.ml
-%%TK%%share/examples/ocaml/camltk/winskel.ml
-%%TK%%share/examples/ocaml/labltk/Lambda2.back.gif
-%%TK%%share/examples/ocaml/labltk/Makefile
-%%TK%%share/examples/ocaml/labltk/Makefile.nt
-%%TK%%share/examples/ocaml/labltk/README
-%%TK%%share/examples/ocaml/labltk/calc.ml
-%%TK%%share/examples/ocaml/labltk/clock.ml
-%%TK%%share/examples/ocaml/labltk/demo.ml
-%%TK%%share/examples/ocaml/labltk/eyes.ml
-%%TK%%share/examples/ocaml/labltk/hello.ml
-%%TK%%share/examples/ocaml/labltk/hello.tcl
-%%TK%%share/examples/ocaml/labltk/lang.ml
-%%TK%%share/examples/ocaml/labltk/taquin.ml
-%%TK%%share/examples/ocaml/labltk/tetris.ml
-%%TK%%@dirrm share/examples/ocaml/labltk
-%%TK%%@dirrm share/examples/ocaml/camltk/images
-%%TK%%@dirrm share/examples/ocaml/camltk
-%%TK%%@dirrm share/examples/ocaml
+%%TK%%%%EXAMPLESDIR%%/camltk/Makefile
+%%TK%%%%EXAMPLESDIR%%/camltk/Makefile.nt
+%%TK%%%%EXAMPLESDIR%%/camltk/addition.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/eyes.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/fileinput.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/fileopen.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/helloworld.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/images/CamlBook.gif
+%%TK%%%%EXAMPLESDIR%%/camltk/images/Lambda2.back.gif
+%%TK%%%%EXAMPLESDIR%%/camltk/images/dojoji.back.gif
+%%TK%%%%EXAMPLESDIR%%/camltk/jptest.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/mytext.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/socketinput.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/taddition.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/tetris.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/text.ml
+%%TK%%%%EXAMPLESDIR%%/camltk/winskel.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/Lambda2.back.gif
+%%TK%%%%EXAMPLESDIR%%/labltk/Makefile
+%%TK%%%%EXAMPLESDIR%%/labltk/Makefile.nt
+%%TK%%%%EXAMPLESDIR%%/labltk/README
+%%TK%%%%EXAMPLESDIR%%/labltk/calc.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/clock.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/demo.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/eyes.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/hello.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/hello.tcl
+%%TK%%%%EXAMPLESDIR%%/labltk/lang.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/taquin.ml
+%%TK%%%%EXAMPLESDIR%%/labltk/tetris.ml
+%%TK%%@dirrm %%EXAMPLESDIR%%/labltk
+%%TK%%@dirrm %%EXAMPLESDIR%%/camltk/images
+%%TK%%@dirrm %%EXAMPLESDIR%%/camltk
+%%TK%%@dirrm %%EXAMPLESDIR%%
@dirrm lib/ocaml/vmthreads
@dirrm lib/ocaml/threads
@dirrm lib/ocaml/stublibs
diff --git a/textproc/ocaml-expat/Makefile b/textproc/ocaml-expat/Makefile
index 93b1137..547fed4 100644
--- a/textproc/ocaml-expat/Makefile
+++ b/textproc/ocaml-expat/Makefile
@@ -20,8 +20,6 @@ RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
-BROKEN= Changes permissions of installed file
-
USE_GMAKE= yes
MAKE_ARGS= EXPAT_LIBDIR=${LOCALBASE}/lib \
EXPAT_INCDIR=${LOCALBASE}/include \
OpenPOWER on IntegriCloud