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 Don't bail out on unused local ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1045f810a798
branches:  trunk
changeset: 639678:1045f810a798
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 22 12:02:05 2014 +0000

description:
Don't bail out on unused local typedefs for clang.

diffstat:

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

diffs (21 lines):

diff -r 580661b064ce -r 1045f810a798 sysutils/open-vm-tools/Makefile
--- a/sysutils/open-vm-tools/Makefile   Mon Sep 22 11:56:54 2014 +0000
+++ b/sysutils/open-vm-tools/Makefile   Mon Sep 22 12:02:05 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2014/05/05 00:48:21 ryoon Exp $
+# $NetBSD: Makefile,v 1.47 2014/09/22 12:02:05 joerg Exp $
 
 DISTNAME=      open-vm-tools-2008.08.08-109361
 PKGNAME=       open-vm-tools-2008.08.08.109361
@@ -35,6 +35,11 @@
 pre-configure:
        cd ${WRKSRC} && autoreconf -f
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CC+=  -Wno-error=unused-local-typedef
+.endif
+
 .include "../../net/libdnet/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"



Home | Main Index | Thread Index | Old Index