pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libmpcdec Fix __inline on Sun Studio.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5269cb16e506
branches:  trunk
changeset: 553417:5269cb16e506
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jan 20 20:29:18 2009 +0000

description:
Fix __inline on Sun Studio.

diffstat:

 audio/libmpcdec/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a19dd442ed9d -r 5269cb16e506 audio/libmpcdec/Makefile
--- a/audio/libmpcdec/Makefile  Tue Jan 20 20:23:36 2009 +0000
+++ b/audio/libmpcdec/Makefile  Tue Jan 20 20:29:18 2009 +0000
@@ -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 @@
 
 INSTALLATION_DIRS+=    include/mpcdec
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CFLAGS+=       -D__inline=inline
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index