diff options
author | joerg <joerg> | 2012-04-19 21:04:30 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-04-19 21:04:30 +0000 |
commit | 86bbac6be1fd2d8a6979172ce97a4e34c3b3a82e (patch) | |
tree | 7e019d6aef7f9516779bd067cb6dd848cd8850bc /print | |
parent | 57ebe29a7e2859872a355d35297cf8fa00b720a6 (diff) | |
download | pkgsrc-86bbac6be1fd2d8a6979172ce97a4e34c3b3a82e.tar.gz |
Don't use -Werror with clang.
Diffstat (limited to 'print')
-rw-r--r-- | print/LPRng-core/Makefile | 8 |
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 |