diff options
author | sketch <sketch@pkgsrc.org> | 2009-01-20 20:29:18 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-01-20 20:29:18 +0000 |
commit | 86f3988cc003657809c145c1fb86a741e4d9b039 (patch) | |
tree | bc54a1cab113ab9b902590501a7b8e495608758a /audio/libmpcdec | |
parent | 56a2636a88fa6b358940a02cd9aa8750c8baee76 (diff) | |
download | pkgsrc-86f3988cc003657809c145c1fb86a741e4d9b039.tar.gz |
Fix __inline on Sun Studio.
Diffstat (limited to 'audio/libmpcdec')
-rw-r--r-- | audio/libmpcdec/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libmpcdec/Makefile b/audio/libmpcdec/Makefile index ccc8f3f5302..943b6ddc2c1 100644 --- a/audio/libmpcdec/Makefile +++ b/audio/libmpcdec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/07/25 13:59:39 obache Exp $ +# $NetBSD: Makefile,v 1.3 2009/01/20 20:29:18 sketch Exp $ # DISTNAME= libmpcdec-1.2.6 @@ -18,4 +18,10 @@ USE_LIBTOOL= yes INSTALLATION_DIRS+= include/mpcdec +.include "../../mk/bsd.prefs.mk" + +.if !empty(PKGSRC_COMPILER:Msunpro) +CFLAGS+= -D__inline=inline +.endif + .include "../../mk/bsd.pkg.mk" |