From 9348f8afb55e7a29b329d4f03a1537ebbf7eb112 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 18 Feb 2004 13:33:40 +0000 Subject: Include "../../mk/compiler.mk" to get the value of CC_VERSION before testing it. --- multimedia/flashplayer/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'multimedia/flashplayer') diff --git a/multimedia/flashplayer/Makefile b/multimedia/flashplayer/Makefile index 3a451c48432..4e25096ae97 100644 --- a/multimedia/flashplayer/Makefile +++ b/multimedia/flashplayer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 13:36:18 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2004/02/18 13:33:41 jlam Exp $ # .include "../../multimedia/libflash/Makefile.common" @@ -11,7 +11,9 @@ USE_BUILDLINK2= yes BUILD_DIRS= ${WRKSRC}/Player CPPFLAGS+= -DDEV_DSP=\\\"${DEVOSSSOUND}\\\" -.if defined(CC_VERSION) && !empty(CC_VERSION:Mgcc-3.*) +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc-3.*) MAKE_ENV+= LIBSTDCPP=-lstdc++ .else MAKE_ENV+= LIBSTDCPP= -- cgit v1.2.3