From ff0fde6de0d5e1de648537d5efb2ea7f5fbfeb65 Mon Sep 17 00:00:00 2001 From: sketch Date: Tue, 20 Jan 2009 20:29:18 +0000 Subject: Fix __inline on Sun Studio. --- audio/libmpcdec/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'audio') 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" -- cgit v1.2.3