diff options
Diffstat (limited to 'mail/milter-regex')
-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) |