summaryrefslogtreecommitdiff
path: root/graphics/flashplayer
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-09-28 20:05:20 +0000
committertron <tron@pkgsrc.org>2003-09-28 20:05:20 +0000
commit3a97bad00a59b7696c107147c9e8b9df7b682ca6 (patch)
treec1fc5a0a964f3df5274654d4264a1f5a105d2b28 /graphics/flashplayer
parentc4154d84064e93c3336f1dbce3a0af58fc9e6901 (diff)
downloadpkgsrc-3a97bad00a59b7696c107147c9e8b9df7b682ca6.tar.gz
Fix GCC 3.3.1 related build problem.
Diffstat (limited to 'graphics/flashplayer')
-rw-r--r--graphics/flashplayer/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/flashplayer/Makefile b/graphics/flashplayer/Makefile
index 928fbe2a8e3..77dd0b25dfc 100644
--- a/graphics/flashplayer/Makefile
+++ b/graphics/flashplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 16:51:39 martti Exp $
+# $NetBSD: Makefile,v 1.10 2003/09/28 20:05:20 tron Exp $
#
.include "../libflash/Makefile.common"
@@ -11,5 +11,11 @@ USE_BUILDLINK2= yes
BUILD_DIRS= ${WRKSRC}/Player
CPPFLAGS+= -DDEV_DSP=\\\"${DEVOSSSOUND}\\\"
+.if defined(CC_VERSION) && !empty(CC_VERSION:Mgcc-3.*)
+MAKE_ENV+= LIBSTDCPP=-lstdc++
+.else
+MAKE_ENV+= LIBSTDCPP=
+.endif
+
.include "../libflash/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"