From c75a218b1b3adf000bae91e137eda65b4c938600 Mon Sep 17 00:00:00 2001 From: tonio Date: Thu, 28 Oct 2010 20:46:07 +0000 Subject: Add PLIST support for natdynlink This unbreaks make package for darwin and linux --- lang/ocaml/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lang/ocaml/Makefile') 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 -- cgit v1.2.3