diff options
author | tron <tron@pkgsrc.org> | 2011-11-30 08:29:36 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-11-30 08:29:36 +0000 |
commit | ef8d11620dc91e28fb190a4ae99c86d481e3a568 (patch) | |
tree | ecc9db56f99485b934dd3cedb8360138c2aea5aa /audio | |
parent | a996d340bf63bce56b745b3f5680c525be207846 (diff) | |
download | pkgsrc-ef8d11620dc91e28fb190a4ae99c86d481e3a568.tar.gz |
Ignore compiler warnings if GCC 4.1.* is used. This fixes the build
under NetBSD/amd64 5.1_STABLE.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libaudiofile/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile index 1aaef3b2a5c..0e3d2d8cc55 100644 --- a/audio/libaudiofile/Makefile +++ b/audio/libaudiofile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2011/11/29 19:39:30 wiz Exp $ +# $NetBSD: Makefile,v 1.47 2011/11/30 08:29:36 tron Exp $ DISTNAME= audiofile-0.3.1 PKGNAME= lib${DISTNAME} @@ -22,6 +22,12 @@ DOCDIR= ${PREFIX}/share/doc/libaudiofile INSTALLATION_DIRS= ${DOCDIR} +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc-4.1.*) +BUILDLINK_TRANSFORM+= rm:-Werror +.endif + post-install: cd ${WRKSRC}/docs; ${INSTALL_DATA} af* sf* ${DESTDIR}${DOCDIR} |