summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorminskim <minskim>2006-12-01 04:12:20 +0000
committerminskim <minskim>2006-12-01 04:12:20 +0000
commit9c458a40f8191b23528c54f37074a253a71d7570 (patch)
tree51a8e274e87f373654f7409810ae84e94e693515 /lang/ocaml
parenta4cb364c3ace82bc8a026dbdcc9c15da79c77b4d (diff)
downloadpkgsrc-9c458a40f8191b23528c54f37074a253a71d7570.tar.gz
Stub libraries are built on Darwin/powerpc only, not on Darwin/i386.
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index e9c01b8a8d5..da8080bf5d7 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2006/10/03 21:06:25 adam Exp $
+# $NetBSD: Makefile,v 1.53 2006/12/01 04:12:20 minskim Exp $
.include "Makefile.common"
@@ -12,7 +12,7 @@ BUILD_TARGET= world
###
# Stub libraries for functions missing from base system.
-.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS"
+.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS"
PLIST_SRC+= ${PKGDIR}/PLIST.stub
.endif