diff options
author | sketch <sketch> | 2004-11-13 12:51:22 +0000 |
---|---|---|
committer | sketch <sketch> | 2004-11-13 12:51:22 +0000 |
commit | e3c98a80e10f6dc993fe57d7368e34f179f0bec4 (patch) | |
tree | de797d47d560563a0f61126ddbb44edf63606946 /multimedia | |
parent | 4239be78418cabebcada690cb82d91364678c12e (diff) | |
download | pkgsrc-e3c98a80e10f6dc993fe57d7368e34f179f0bec4.tar.gz |
When using the SunPro compiler suite, the "cc" compiler understands the C99
__func__ declaration, but the "CC" (C++) compiler does not. The configure
script for this package tests for __func__ but only invokes the C frontend,
causing failures later as it uses both C and C++ compilers. Explicitly
disable this functionality when using SunPro.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gst-plugins/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/gst-plugins/Makefile.common b/multimedia/gst-plugins/Makefile.common index 3d9ce2841b1..c98f5108946 100644 --- a/multimedia/gst-plugins/Makefile.common +++ b/multimedia/gst-plugins/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.10 2004/10/28 14:22:48 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.11 2004/11/13 12:51:22 sketch Exp $ # DISTNAME= gst-plugins-0.8.5 @@ -31,6 +31,13 @@ CONFIGURE_ARGS+= --disable-xvideo CONFIGURE_ARGS+= --disable-examples CONFIGURE_ARGS+= --disable-tests +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Msunpro) +# SunPro cc understands __func__ but CC does not, so disable explicitly. +CONFIGURE_ENV+= have_func=no +.endif + # Disable all drivers by default. .for driver in a52dec \ aalib \ |