From 08eb60fed4de454049469e992ffe3a5d9ca93c93 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 6 Dec 2004 23:00:23 +0000 Subject: Fixed Darwin build PR#26588 --- devel/boehm-gc/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'devel/boehm-gc') diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile index d94d798bff6..886c3d98844 100644 --- a/devel/boehm-gc/Makefile +++ b/devel/boehm-gc/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2004/11/10 19:13:10 snj Exp $ -# +# $NetBSD: Makefile,v 1.44 2004/12/06 23:00:23 adam Exp $ DISTNAME= gc6.3 PKGNAME= ${DISTNAME:S/gc/boehm-gc-/} @@ -15,10 +14,10 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews USE_BUILDLINK3= YES USE_GNU_TOOLS+= make +USE_LANGUAGES= c c++ USE_LIBTOOL= YES GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --enable-cplusplus --disable-threads -USE_LANGUAGES= c c++ +CONFIGURE_ARGS+= --enable-cplusplus INSTALLATION_DIRS= man/man3 MAKE_ENV+= COPTS=${CFLAGS:Q} @@ -27,6 +26,10 @@ MAKE_ENV+= COPTS=${CFLAGS:Q} .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} != "Darwin" +CONFIGURE_ARGS+= --disable-threads +.endif + .if defined(EXTRACT_USING_PAX) EXTRACT_ELEMENTS= -u .endif -- cgit v1.2.3