diff options
author | sketch <sketch> | 2009-01-20 20:29:18 +0000 |
---|---|---|
committer | sketch <sketch> | 2009-01-20 20:29:18 +0000 |
commit | 7326ecad66903078e680e6e1cf0be9828d51f29c (patch) | |
tree | bc54a1cab113ab9b902590501a7b8e495608758a /audio/libmpcdec | |
parent | 222926dcdbd8ae77caa1fa4bc06652ae15150909 (diff) | |
download | pkgsrc-7326ecad66903078e680e6e1cf0be9828d51f29c.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" |