diff options
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 |