pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/TECkit



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Sep 29 13:32:01 UTC 2017

Modified Files:
        pkgsrc/converters/TECkit: Makefile

Log Message:
Allow narrowing of the data tables GCC 5+.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/converters/TECkit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/TECkit/Makefile
diff -u pkgsrc/converters/TECkit/Makefile:1.7 pkgsrc/converters/TECkit/Makefile:1.8
--- pkgsrc/converters/TECkit/Makefile:1.7       Sat Jan  9 03:10:45 2016
+++ pkgsrc/converters/TECkit/Makefile   Fri Sep 29 13:32:01 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/01/09 03:10:45 chuck Exp $
+# $NetBSD: Makefile,v 1.8 2017/09/29 13:32:01 joerg Exp $
 
 DISTNAME=      TECkit_2.5.3
 PKGNAME=       ${DISTNAME:S/_/-/}
@@ -24,6 +24,12 @@ USE_TOOLS+=  autoconf automake
 
 PKGCONFIG_OVERRIDE=    teckit.pc.in
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-[5-9]*)
+CFLAGS+=       -Wno-narrowing
+.endif
+
 pre-configure:
                (cd ${WRKSRC}; ./autogen.sh)
 



Home | Main Index | Thread Index | Old Index