summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordbj <dbj>2008-02-11 00:56:42 +0000
committerdbj <dbj>2008-02-11 00:56:42 +0000
commitb6b268dd4b57a3c14510b24365a8753025dc8267 (patch)
tree378fe28a704ba472fd8937e4006223ac8f8e834d /lang
parent9ef6b2eda79312e2702555b55a5087d078a3644f (diff)
downloadpkgsrc-b6b268dd4b57a3c14510b24365a8753025dc8267.tar.gz
include opt and stubs on intel darwin leopard
Diffstat (limited to 'lang')
-rw-r--r--lang/ocaml/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 91f36eb8c0f..5186d3b5cd9 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2008/01/23 20:42:25 adam Exp $
+# $NetBSD: Makefile,v 1.59 2008/02/11 00:56:42 dbj Exp $
.include "Makefile.common"
@@ -13,8 +13,10 @@ MAKE_JOBS_SAFE= no
###
# Stub libraries for functions missing from base system.
-.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || ${OPSYS} == "DragonFly" || \
- ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \
+.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || \
+ !empty(MACHINE_PLATFORM:MDarwin-9.*-i386) || \
+ ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || \
+ ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \
${OPSYS} == "Linux"
PLIST_SRC+= ${PKGDIR}/PLIST.stub
.endif
@@ -24,7 +26,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.stub
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
BUILD_TARGET+= opt opt.opt
PLIST_SRC+= ${PKGDIR}/PLIST.opt
-. if empty(MACHINE_PLATFORM:MDarwin-*-*) && \
+. if empty(MACHINE_PLATFORM:MDarwin-*-powerpc) && \
empty(MACHINE_PLATFORM:MSunOS-*-i386) && \
empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) && \
empty(MACHINE_PLATFORM:MNetBSD-*-sparc)