diff options
author | sketch <sketch> | 2004-11-16 12:05:54 +0000 |
---|---|---|
committer | sketch <sketch> | 2004-11-16 12:05:54 +0000 |
commit | a3c306bd052baaa34cf56d0e68a96b72e2648d88 (patch) | |
tree | 1a58d7e9cb57f6261c5c9069ea2c4daf0a5e14e6 /audio/flac/Makefile | |
parent | b375da353f59b3529ea28095211f44c717a37e43 (diff) | |
download | pkgsrc-a3c306bd052baaa34cf56d0e68a96b72e2648d88.tar.gz |
Various C++ tweaks/cleanups to get this package compiling with SunPro.
Diffstat (limited to 'audio/flac/Makefile')
-rw-r--r-- | audio/flac/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile index 8d4f8e89913..fce26204aef 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2004/10/18 18:25:49 ben Exp $ +# $NetBSD: Makefile,v 1.30 2004/11/16 12:05:54 sketch Exp $ DISTNAME= flac-1.1.1 PKGREVISION= 1 @@ -32,9 +32,6 @@ CONFIGURE_ARGS+= --disable-altivec .endif .endif -# This version of flac doesn't build with SunPro yet. -NOT_FOR_COMPILER= sunpro - # This version of flac doesn't seem to build correctly with -O3 using # the MIPSpro compiler. .include "../../mk/compiler.mk" @@ -42,6 +39,11 @@ NOT_FOR_COMPILER= sunpro BUILDLINK_TRANSFORM+= rm:-O3 .endif +# SunPro does not support __inline +.if !empty(PKGSRC_COMPILER:Msunpro) +CFLAGS+= -D__inline=inline +.endif + .include "../../multimedia/libogg/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |