diff options
author | tonio <tonio@pkgsrc.org> | 2010-10-28 20:46:07 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2010-10-28 20:46:07 +0000 |
commit | c75a218b1b3adf000bae91e137eda65b4c938600 (patch) | |
tree | 526f1fe206ac72dd69736c6c1f3227715f1d89cd /lang | |
parent | 40355d17c548e654e4d80e8708f00a959cc310f5 (diff) | |
download | pkgsrc-c75a218b1b3adf000bae91e137eda65b4c938600.tar.gz |
Add PLIST support for natdynlink
This unbreaks make package for darwin and linux
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ocaml/Makefile | 10 | ||||
-rw-r--r-- | lang/ocaml/PLIST.natdynlink | 9 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index f5c06346e12..a13c4da3b21 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2010/08/21 15:02:14 wiz Exp $ +# $NetBSD: Makefile,v 1.67 2010/10/28 20:46:07 tonio Exp $ PKG_DESTDIR_SUPPORT= user-destdir @@ -41,6 +41,14 @@ PLIST_SRC+= ${PKGDIR}/PLIST.prof . endif .endif +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") +. if !empty(MACHINE_PLATFORM:MLinux-*-*) || \ + !empty(MACHINE_PLATFORM:MDarwin-*-*) || \ + !empty(MACHINE_PLATFORM:MFreeBSD-*-*) +PLIST_SRC+= ${PKGDIR}/PLIST.natdynlink +. endif +.endif + # Common ocaml files. PLIST_SRC+= ${PKGDIR}/PLIST diff --git a/lang/ocaml/PLIST.natdynlink b/lang/ocaml/PLIST.natdynlink new file mode 100644 index 00000000000..01fe81e74ed --- /dev/null +++ b/lang/ocaml/PLIST.natdynlink @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST.natdynlink,v 1.1 2010/10/28 20:46:07 tonio Exp $ +lib/ocaml/bigarray.cmxs +lib/ocaml/dbm.cmxs +lib/ocaml/dynlink.a +lib/ocaml/dynlink.cmx +lib/ocaml/dynlink.cmxa +lib/ocaml/nums.cmxs +lib/ocaml/str.cmxs +lib/ocaml/unix.cmxs |