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 | da52e08de4d62f6dd2ad9402b9dc0f03811950c3 (patch) | |
tree | ecc9db56f99485b934dd3cedb8360138c2aea5aa /audio | |
parent | 3d27d9f1c1bd265b12f2483df365e755293eff11 (diff) | |
download | pkgsrc-da52e08de4d62f6dd2ad9402b9dc0f03811950c3.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} |