pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/open-vm-tools Restrict GCC warning flags to n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/149db7ef1423
branches:  trunk
changeset: 347592:149db7ef1423
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed May 25 15:35:32 2016 +0000

description:
Restrict GCC warning flags to newer GCC versions. Fixes PR pkg/51164.

diffstat:

 sysutils/open-vm-tools/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3d0a51c9376b -r 149db7ef1423 sysutils/open-vm-tools/Makefile
--- a/sysutils/open-vm-tools/Makefile   Wed May 25 15:34:10 2016 +0000
+++ b/sysutils/open-vm-tools/Makefile   Wed May 25 15:35:32 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2016/05/07 10:10:09 joerg Exp $
+# $NetBSD: Makefile,v 1.57 2016/05/25 15:35:32 joerg Exp $
 
 DISTNAME=      open-vm-tools-2008.08.08-109361
 PKGNAME=       open-vm-tools-2008.08.08.109361
@@ -39,7 +39,7 @@
 .if !empty(PKGSRC_COMPILER:Mclang)
 _WRAP_EXTRA_ARGS.CC+=  -Wno-error=unused-local-typedef
 CWRAPPERS_APPEND.cc+=  -Wno-error=unused-local-typedef
-.elif !empty(PKGSRC_COMPILER:Mgcc)
+.elif !empty(PKGSRC_COMPILER:Mgcc) && empty(CC_VERSION:U:Mgcc-[1-3].*) && empty(CC_VERSION:U:Mgcc-4.[0-7]*)
 _WRAP_EXTRA_ARGS.CC+=  -Wno-error=unused-local-typedefs -Wno-error=unused-but-set-variable
 CWRAPPERS_APPEND.cc+=  -Wno-error=unused-local-typedefs -Wno-error=unused-but-set-variable
 .endif



Home | Main Index | Thread Index | Old Index