pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lambd Disable GCC error with newer versions.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a3e09d7fc92c
branches:  trunk
changeset: 349233:a3e09d7fc92c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jul 02 14:44:50 2016 +0000

description:
Disable GCC error with newer versions.

diffstat:

 sysutils/lambd/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r eaeddd819e8d -r a3e09d7fc92c sysutils/lambd/Makefile
--- a/sysutils/lambd/Makefile   Sat Jul 02 14:43:34 2016 +0000
+++ b/sysutils/lambd/Makefile   Sat Jul 02 14:44:50 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2012/10/23 19:51:09 asau Exp $
+# $NetBSD: Makefile,v 1.17 2016/07/02 14:44:50 joerg Exp $
 
 DISTNAME=      lambd-20010719
 PKGREVISION=   2
@@ -21,4 +21,9 @@
        ${CP} ${FILESDIR}/*.[ch8] ${WRKSRC}
        ${CP} ${FILESDIR}/Makefile ${WRKSRC}
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CFLAGS+=       -Wno-error=unused-but-set-variable
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index