summaryrefslogtreecommitdiff
path: root/lang/ocaml/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-12-01 04:12:20 +0000
committerminskim <minskim@pkgsrc.org>2006-12-01 04:12:20 +0000
commit566815697e82bddfca2826339ea4cfe17d96ddfc (patch)
tree51a8e274e87f373654f7409810ae84e94e693515 /lang/ocaml/Makefile
parent5dd0474911cfb0d277e95b1d54f5b835f74a7e44 (diff)
downloadpkgsrc-566815697e82bddfca2826339ea4cfe17d96ddfc.tar.gz
Stub libraries are built on Darwin/powerpc only, not on Darwin/i386.
Diffstat (limited to 'lang/ocaml/Makefile')
-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