diff options
author | sketch <sketch@pkgsrc.org> | 2009-01-20 20:01:23 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-01-20 20:01:23 +0000 |
commit | 07f49b72a28c6d7513b4c5ebec13c1a02a149fee (patch) | |
tree | 57b3c5a62bbb9f689c436f2c518f3ae2c594677a | |
parent | fac26f37deeaad880459f6cdc0f3072252a8c26c (diff) | |
download | pkgsrc-07f49b72a28c6d7513b4c5ebec13c1a02a149fee.tar.gz |
Disable inline across source files on Sun Studio.
-rw-r--r-- | audio/toolame/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile index d1a038632b9..e62cf1a4573 100644 --- a/audio/toolame/Makefile +++ b/audio/toolame/Makefile @@ -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 @@ BUILD_TARGET= toolame 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 |