pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/milter-regex milter-regex: Strip -Werror



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d7d5db83388
branches:  trunk
changeset: 412429:8d7d5db83388
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 06 12:33:03 2020 +0000

description:
milter-regex: Strip -Werror

diffstat:

 mail/milter-regex/Makefile |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (24 lines):

diff -r b8f037383892 -r 8d7d5db83388 mail/milter-regex/Makefile
--- a/mail/milter-regex/Makefile        Fri Mar 06 12:30:47 2020 +0000
+++ b/mail/milter-regex/Makefile        Fri Mar 06 12:33:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2018/02/06 13:38:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.26 2020/03/06 12:33:03 nia Exp $
 
 DISTNAME=      milter-regex-1.7
 PKGREVISION=   2
@@ -30,13 +30,7 @@
 
 LDFLAGS.SunOS+=                -lnsl -lsocket
 
-.include "../../mk/bsd.prefs.mk"
-
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-_WRAP_EXTRA_ARGS.CC+=  -Wno-unused-const-variable
-CWRAPPERS_APPEND.cc+=  -Wno-unused-const-variable
-.endif
+BUILDLINK_TRANSFORM+=  rm:-Werror
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${DESTDIR}${PREFIX}/sbin



Home | Main Index | Thread Index | Old Index