pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/toolame Disable inline across source files on Su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8425cc720e21
branches:  trunk
changeset: 553415:8425cc720e21
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Jan 20 20:01:23 2009 +0000

description:
Disable inline across source files on Sun Studio.

diffstat:

 audio/toolame/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 23edb84b4b08 -r 8425cc720e21 audio/toolame/Makefile
--- a/audio/toolame/Makefile    Tue Jan 20 19:43:56 2009 +0000
+++ b/audio/toolame/Makefile    Tue Jan 20 20:01:23 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/07/14 19:12:22 heinz Exp $
+# $NetBSD: Makefile,v 1.18 2009/01/20 20:01:23 sketch Exp $
 #
 
 DISTNAME=      toolame-02l
@@ -22,6 +22,16 @@
 
 INSTALLATION_DIRS=     bin
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+SUBST_CLASSES+=                inline
+SUBST_MESSAGE.inline=  Disable inline on Sun Studio
+SUBST_STAGE.inline=    post-patch
+SUBST_FILES.inline=    Makefile
+SUBST_SED.inline=      -e 's,INLINE=inline,INLINE=,'
+.endif
+
 TOOLAME_HTMLFILES= changes.html default.html psycho.html readme.html vbr.html
 do-install:
        ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/share/doc/html/toolame



Home | Main Index | Thread Index | Old Index