summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-04-19 21:04:30 +0000
committerjoerg <joerg@pkgsrc.org>2012-04-19 21:04:30 +0000
commit49b2a86efce7026e2ab5a18f6e159288d446403c (patch)
tree7e019d6aef7f9516779bd067cb6dd848cd8850bc /print
parent5b4e0f7b3c3a68acc0d343c98a24b5a61a5e97c0 (diff)
downloadpkgsrc-49b2a86efce7026e2ab5a18f6e159288d446403c.tar.gz
Don't use -Werror with clang.
Diffstat (limited to 'print')
-rw-r--r--print/LPRng-core/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/print/LPRng-core/Makefile b/print/LPRng-core/Makefile
index 71053c98e3a..9f1180bb691 100644
--- a/print/LPRng-core/Makefile
+++ b/print/LPRng-core/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2010/02/12 00:21:17 joerg Exp $
+# $NetBSD: Makefile,v 1.36 2012/04/19 21:04:53 joerg Exp $
DISTNAME= LPRng-3.8.28
PKGNAME= LPRng-core-3.8.28
@@ -57,6 +57,12 @@ SPECIAL_PERMS+= bin/lpq ${SETUID_ROOT_PERMS} \
bin/lpstat ${SETUID_ROOT_PERMS} \
sbin/lpc ${SETUID_ROOT_PERMS} \
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+BUILDLINK_TRANSFORM+= rm:-Werror
+.endif
+
pre-patch:
${MV} ${WRKSRC:Q}/man/lpd.conf.n ${WRKSRC:Q}/man/lpd.conf.n.in