diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-19 21:04:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-19 21:04:30 +0000 |
commit | 49b2a86efce7026e2ab5a18f6e159288d446403c (patch) | |
tree | 7e019d6aef7f9516779bd067cb6dd848cd8850bc /pkgtools | |
parent | 5b4e0f7b3c3a68acc0d343c98a24b5a61a5e97c0 (diff) | |
download | pkgsrc-49b2a86efce7026e2ab5a18f6e159288d446403c.tar.gz |
Don't use -Werror with clang.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/packagekit/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/packagekit/Makefile b/pkgtools/packagekit/Makefile index a0dd1e5ade2..c21d319e0ba 100644 --- a/pkgtools/packagekit/Makefile +++ b/pkgtools/packagekit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2012/03/10 10:56:17 obache Exp $ +# $NetBSD: Makefile,v 1.19 2012/04/19 21:04:30 joerg Exp $ # DISTNAME= PackageKit-0.4.0 @@ -58,6 +58,11 @@ post-extract: pre-configure: cd ${WRKSRC} && autoconf -f +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +BUILDLINK_TRANSFORM+= rm:-Werror +.endif + .include "../../databases/shared-mime-info/mimedb.mk" .include "../../databases/sqlite3/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" |