From 566815697e82bddfca2826339ea4cfe17d96ddfc Mon Sep 17 00:00:00 2001 From: minskim Date: Fri, 1 Dec 2006 04:12:20 +0000 Subject: Stub libraries are built on Darwin/powerpc only, not on Darwin/i386. --- lang/ocaml/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/ocaml/Makefile') 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 -- cgit v1.2.3