diff options
author | joerg <joerg> | 2013-10-15 14:44:42 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-10-15 14:44:42 +0000 |
commit | f9dbf947941bf01af6caa3c9a2a9532f2f0718b7 (patch) | |
tree | b3b1e37708c9dee88bec96e65471873b273d7a72 /mail | |
parent | 687e0b8630d299b3f6f413c239eb07259d8544f7 (diff) | |
download | pkgsrc-f9dbf947941bf01af6caa3c9a2a9532f2f0718b7.tar.gz |
Ignore unused constants for clang.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-regex/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile index 6c730ac74d0..59dc07d3b06 100644 --- a/mail/milter-regex/Makefile +++ b/mail/milter-regex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2013/09/13 11:49:36 obache Exp $ +# $NetBSD: Makefile,v 1.22 2013/10/15 14:44:42 joerg Exp $ DISTNAME= milter-regex-1.7 PKGREVISION= 2 @@ -30,6 +30,11 @@ SUBST_SED.var= -e 's|/var/spool|${VARBASE}|g' .include "../../mk/bsd.prefs.mk" +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +_WRAP_EXTRA_ARGS.CC+= -Wno-unused-const-variable +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${DESTDIR}${PREFIX}/sbin .if !empty(MANINSTALL:Mcatinstall) |