diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-18 13:33:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-18 13:33:40 +0000 |
commit | efa1ab70ba871ae157aeaa0b56ad9a331eb91e69 (patch) | |
tree | e6391a0a29cee2898ed380fe3328cb0b69890ce3 /multimedia/flashplayer/Makefile | |
parent | c40ee95964564e28bc4d27851d406f8cd0048057 (diff) | |
download | pkgsrc-efa1ab70ba871ae157aeaa0b56ad9a331eb91e69.tar.gz |
Include "../../mk/compiler.mk" to get the value of CC_VERSION before
testing it.
Diffstat (limited to 'multimedia/flashplayer/Makefile')
-rw-r--r-- | multimedia/flashplayer/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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= |