pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/open-vm-tools



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Apr 13 10:19:24 UTC 2021

Modified Files:
        pkgsrc/sysutils/open-vm-tools: Makefile

Log Message:
open-vm-tools: fix for latest glib


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/sysutils/open-vm-tools/Makefile

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

Modified files:

Index: pkgsrc/sysutils/open-vm-tools/Makefile
diff -u pkgsrc/sysutils/open-vm-tools/Makefile:1.99 pkgsrc/sysutils/open-vm-tools/Makefile:1.100
--- pkgsrc/sysutils/open-vm-tools/Makefile:1.99 Thu Nov  5 09:09:10 2020
+++ pkgsrc/sysutils/open-vm-tools/Makefile      Tue Apr 13 10:19:24 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2020/11/05 09:09:10 ryoon Exp $
+# $NetBSD: Makefile,v 1.100 2021/04/13 10:19:24 nia Exp $
 
 OVTVER=                10.3.0
 DISTNAME=      open-vm-tools-${OVTVER}-8931395
@@ -16,12 +16,14 @@ GITHUB_PROJECT=     open-vm-tools
 GITHUB_RELEASE=        stable-${OVTVER}
 #WRKSRC=       ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}/${GITHUB_PROJECT}
 
-EXTRACT_USING= bsdtar
-
 ONLY_FOR_PLATFORM=     NetBSD-*-i386 NetBSD-*-x86_64
 
 GCC_REQD+=     4.8
-BUILDLINK_TRANSFORM.NetBSD+=   rm:-Werror
+
+# Workaround for glib2-2.68.0 c++ fallout.
+CXXFLAGS+=     -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66
+
+BUILDLINK_TRANSFORM+=  rm:-Werror
 
 USE_LANGUAGES=         c gnu++11
 USE_LIBTOOL=           yes
@@ -51,20 +53,12 @@ SUBST_FILES.fix-etc-path+=  lib/guestApp/
 SUBST_FILES.fix-etc-path+=     lib/procMgr/procMgrPosix.c
 SUBST_VARS.fix-etc-path+=      PREFIX
 
+CHECK_PORTABILITY_SKIP+=       scripts/solaris/network
+
 pre-configure:
        cd ${WRKSRC} && autoreconf -f -i
 
-.include "../../mk/compiler.mk"
-.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) && 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
-
 .include "options.mk"
-
 .include "../../archivers/libmspack/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../net/libdnet/buildlink3.mk"



Home | Main Index | Thread Index | Old Index