summaryrefslogtreecommitdiff
path: root/audio/flac/Makefile
diff options
context:
space:
mode:
authorsketch <sketch>2004-11-16 12:05:54 +0000
committersketch <sketch>2004-11-16 12:05:54 +0000
commit979bad7e55c6290cbd5d3821bac1d3f76b062a01 (patch)
tree1a58d7e9cb57f6261c5c9069ea2c4daf0a5e14e6 /audio/flac/Makefile
parentc766cbc4d56bdd978b20a9597b509518c645b9f7 (diff)
downloadpkgsrc-979bad7e55c6290cbd5d3821bac1d3f76b062a01.tar.gz
Various C++ tweaks/cleanups to get this package compiling with SunPro.
Diffstat (limited to 'audio/flac/Makefile')
-rw-r--r--audio/flac/Makefile10
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"