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
commit21edb3b5f71a9d190fc3346ba047ce76613972eb (patch)
tree7e019d6aef7f9516779bd067cb6dd848cd8850bc /print
parent8f2f4b8092d78ef2e4a46d0c875a8a3627f17fa1 (diff)
downloadpkgsrc-21edb3b5f71a9d190fc3346ba047ce76613972eb.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