summaryrefslogtreecommitdiff
path: root/x11/ocaml-graphics
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2010-11-07 18:36:08 +0000
committertonio <tonio@pkgsrc.org>2010-11-07 18:36:08 +0000
commitd251a16ddd721b6237e16afad37c19af2f2bf283 (patch)
tree475524c77d70f4c1593083836ba60b940bc485e6 /x11/ocaml-graphics
parent584a9be15a98ae482adcc71f6814ab05b51997d9 (diff)
downloadpkgsrc-d251a16ddd721b6237e16afad37c19af2f2bf283.tar.gz
Try to fix plist problem under netbsd
Diffstat (limited to 'x11/ocaml-graphics')
-rw-r--r--x11/ocaml-graphics/Makefile11
-rw-r--r--x11/ocaml-graphics/PLIST4
2 files changed, 12 insertions, 3 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile
index 8b9af97a5df..a8de46bd2e1 100644
--- a/x11/ocaml-graphics/Makefile
+++ b/x11/ocaml-graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2009/09/07 21:48:14 tonio Exp $
+# $NetBSD: Makefile,v 1.11 2010/11/07 18:36:08 tonio Exp $
PKG_DESTDIR_SUPPORT= user-destdir
@@ -26,6 +26,15 @@ INSTALL_TARGET+= installopt
PLIST.opt= yes
.endif
+PLIST_VARS+= natdynlib
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64")
+. if !empty(MACHINE_PLATFORM:MLinux-*-*) || \
+ !empty(MACHINE_PLATFORM:MDarwin-*-*) || \
+ !empty(MACHINE_PLATFORM:MFreeBSD-*-*)
+PLIST.natdynlib= yes
+. endif
+.endif
+
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
.if ${OPSYS} == "Darwin"
diff --git a/x11/ocaml-graphics/PLIST b/x11/ocaml-graphics/PLIST
index 8b0220428ee..98469a5334c 100644
--- a/x11/ocaml-graphics/PLIST
+++ b/x11/ocaml-graphics/PLIST
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.6 2009/09/07 21:48:14 tonio Exp $
+@comment $NetBSD: PLIST,v 1.7 2010/11/07 18:36:08 tonio Exp $
${PLIST.opt}lib/ocaml/graphics.a
lib/ocaml/graphics.cma
lib/ocaml/graphics.cmi
lib/ocaml/graphics.cmx
-lib/ocaml/graphics.cmxs
${PLIST.opt}lib/ocaml/graphics.cmxa
+${PLIST.natdynlib}lib/ocaml/graphics.cmxs
lib/ocaml/graphics.mli
lib/ocaml/graphicsX11.cmi
lib/ocaml/graphicsX11.cmx