pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mail-notification Don't panic about unused functi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4cfabeb2bb7
branches:  trunk
changeset: 627807:e4cfabeb2bb7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Dec 15 19:40:03 2013 +0000

description:
Don't panic about unused functions.

diffstat:

 mail/mail-notification/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 25fb23264ac4 -r e4cfabeb2bb7 mail/mail-notification/Makefile
--- a/mail/mail-notification/Makefile   Sun Dec 15 19:39:34 2013 +0000
+++ b/mail/mail-notification/Makefile   Sun Dec 15 19:40:03 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2013/10/10 14:42:21 ryoon Exp $
+# $NetBSD: Makefile,v 1.85 2013/12/15 19:40:03 joerg Exp $
 #
 
 DISTNAME=      mail-notification-5.4
@@ -50,6 +50,11 @@
 CONFIGURE_ARGS+=       ssl=no
 .endif
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+=  -Wno-unused-function
+.endif
+
 do-build:
        cd ${WRKSRC} && ./jb build
 



Home | Main Index | Thread Index | Old Index