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/ocaml/Makefile | |
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/ocaml/Makefile')
-rw-r--r-- | lang/ocaml/Makefile | 10 |
1 files changed, 9 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 |