summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-02-04 22:38:59 +0000
committeradrianp <adrianp@pkgsrc.org>2005-02-04 22:38:59 +0000
commitefb31c9b6528200eea2f48612194534511a24980 (patch)
tree01ef384b1741cec1a294f587e5bb3aa5a49d4d05 /x11
parent4ce4e6e680f9771fa4d79524dd9a827d95f5d38f (diff)
downloadpkgsrc-efb31c9b6528200eea2f48612194534511a24980.tar.gz
- Update of ocaml-graphics from 3.06 to 3.08.2
- Lots of changes/bugfixes - see Changes for all the details
Diffstat (limited to 'x11')
-rw-r--r--x11/ocaml-graphics/Makefile12
-rw-r--r--x11/ocaml-graphics/PLIST.stub3
-rw-r--r--x11/ocaml-graphics/buildlink3.mk4
3 files changed, 16 insertions, 3 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile
index f9b276b88b8..7a4715e055f 100644
--- a/x11/ocaml-graphics/Makefile
+++ b/x11/ocaml-graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2005/02/04 22:38:59 adrianp Exp $
.include "../../lang/ocaml/Makefile.common"
@@ -24,7 +24,17 @@ PLIST_SUBST+= OPT=
PLIST_SUBST+= OPT='@comment '
.endif
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+
+.if ${OPSYS} == "Darwin"
+PLIST_SRC+= ${PKGDIR}/PLIST.stub
+.endif
+
BUILDLINK_DEPMETHOD.ocaml= full
.include "../../lang/ocaml/buildlink3.mk"
+
+post-build:
+ @${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
+
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/ocaml-graphics/PLIST.stub b/x11/ocaml-graphics/PLIST.stub
new file mode 100644
index 00000000000..015eadc7839
--- /dev/null
+++ b/x11/ocaml-graphics/PLIST.stub
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.stub,v 1.1 2005/02/04 22:38:59 adrianp Exp $
+lib/ocaml/stublibs/dllgraphics.so
+@unexec ${RMDIR} %D/lib/ocaml/stublibs 2>/dev/null || ${TRUE}
diff --git a/x11/ocaml-graphics/buildlink3.mk b/x11/ocaml-graphics/buildlink3.mk
index 8a8c613896e..6d423e149ae 100644
--- a/x11/ocaml-graphics/buildlink3.mk
+++ b/x11/ocaml-graphics/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/24 17:17:49 jmmv Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2005/02/04 22:38:59 adrianp Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OCAML_GRAPHICS_BUILDLINK3_MK:= ${OCAML_GRAPHICS_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml-graphics}
BUILDLINK_PACKAGES+= ocaml-graphics
.if !empty(OCAML_GRAPHICS_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.06
+BUILDLINK_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.08.2
BUILDLINK_PKGSRCDIR.ocaml-graphics?= ../../x11/ocaml-graphics
.endif # OCAML_GRAPHICS_BUILDLINK3_MK