From owner-svn-ports-all@FreeBSD.ORG Thu Nov 7 21:50:20 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D0662D8; Thu, 7 Nov 2013 21:50:20 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 39C8120A4; Thu, 7 Nov 2013 21:50:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA7LoKdZ071070; Thu, 7 Nov 2013 21:50:20 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA7LoJGF071065; Thu, 7 Nov 2013 21:50:19 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201311072150.rA7LoJGF071065@svn.freebsd.org> From: Steve Wills Date: Thu, 7 Nov 2013 21:50:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333158 - in head/emulators/open-vm-tools: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 21:50:20 -0000 Author: swills Date: Thu Nov 7 21:50:19 2013 New Revision: 333158 URL: http://svnweb.freebsd.org/changeset/ports/333158 Log: - Add stage support - Convert to USES=kmod PR: ports/183754 Submitted by: mat Modified: head/emulators/open-vm-tools/Makefile head/emulators/open-vm-tools/files/patch-libguestlib-Makefile head/emulators/open-vm-tools/files/patch-services-Makefile head/emulators/open-vm-tools/pkg-plist Modified: head/emulators/open-vm-tools/Makefile ============================================================================== --- head/emulators/open-vm-tools/Makefile Thu Nov 7 21:46:34 2013 (r333157) +++ head/emulators/open-vm-tools/Makefile Thu Nov 7 21:50:19 2013 (r333158) @@ -5,7 +5,7 @@ PORTNAME= open-vm-tools PORTVERSION= ${BUILD_VER} PORTREVISION= 4 PORTEPOCH= 1 -CATEGORIES= emulators kld +CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-8.6.x DISTNAME= open-vm-tools-${RELEASE_VER}-${BUILD_VER} @@ -20,10 +20,11 @@ BUILD_VER= 425873 WRKSRC= ${WRKDIR}/open-vm-tools-${RELEASE_VER}-${BUILD_VER} GNU_CONFIGURE= yes -USES= pkgconfig +USES= pkgconfig kmod USE_GNOME= glib20 USE_LDCONFIG= yes CPPFLAGS+= -Wno-deprecated-declarations +KMODDIR= ${PREFIX}/lib/vmware-tools/modules/drivers SSP_UNSAFE= kernel module does not support ssp @@ -75,7 +76,6 @@ LIB_DEPENDS+= libicuuc.so:${PORTSDIR}/d USE_RC_SUBR= vmware-guestd vmware-kmod -NO_STAGE= yes .include .if ${ARCH} == "sparc64" @@ -83,16 +83,17 @@ IGNORE= not yet ported to sparc64 .endif post-build: - (cd ${WRKSRC}/modules && ${MAKE}) + (cd ${WRKSRC}/modules && env ${MAKE_ENV} ${MAKE} ${MAKE_ARGS}) post-install: - ${MKDIR} ${PREFIX}/lib/vmware-tools/modules/drivers - ${MKDIR} ${PREFIX}/lib/vmware-tools/modules/input - ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmmemctl.ko - ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmxnet.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmxnet.ko - ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmhgfs.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmhgfs.ko - ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko ${PREFIX}/lib/vmware-tools/modules/drivers/vmblock.ko - @-kldxref ${PREFIX}/lib/vmware-tools/modules/drivers 2>/dev/null - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/input + ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmmemctl.ko + ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmxnet.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmxnet.ko + ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmhgfs.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmhgfs.ko + ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmblock.ko + ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/vmware/ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/tests/ .include Modified: head/emulators/open-vm-tools/files/patch-libguestlib-Makefile ============================================================================== --- head/emulators/open-vm-tools/files/patch-libguestlib-Makefile Thu Nov 7 21:46:34 2013 (r333157) +++ head/emulators/open-vm-tools/files/patch-libguestlib-Makefile Thu Nov 7 21:50:19 2013 (r333158) @@ -5,7 +5,7 @@ EXTRA_DIST = vmguestlib.pc.in -pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = $(DESTDIR)$(prefix)/libdata/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig pkgconfig_DATA = vmguestlib.pc $(pkgconfig_DATA): $(top_builddir)/config.status @@ -16,7 +16,7 @@ $(top_srcdir)/lib/include/vm_basic_types.h EXTRA_DIST = vmguestlib.pc.in -pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = $(DESTDIR)$(prefix)/libdata/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig pkgconfig_DATA = vmguestlib.pc all: all-am Modified: head/emulators/open-vm-tools/files/patch-services-Makefile ============================================================================== --- head/emulators/open-vm-tools/files/patch-services-Makefile Thu Nov 7 21:46:34 2013 (r333157) +++ head/emulators/open-vm-tools/files/patch-services-Makefile Thu Nov 7 21:50:19 2013 (r333158) @@ -6,7 +6,7 @@ install-exec-local: - mkdir -p $(DESTDIR)/etc/vmware-tools - ln -sf `dirname $(VMSVC_PLUGIN_INSTALLDIR)` $(DESTDIR)/etc/vmware-tools/plugins -+ mkdir -p $(prefix)/etc/vmware-tools ++ mkdir -p $(DESTDIR)$(prefix)/etc/vmware-tools --- services/Makefile.in.orig 2009-02-28 20:48:52.000000000 +0100 +++ services/Makefile.in 2009-02-28 20:49:46.000000000 +0100 @@ -16,7 +16,7 @@ install-exec-local: - mkdir -p $(DESTDIR)/etc/vmware-tools - ln -sf `dirname $(VMSVC_PLUGIN_INSTALLDIR)` $(DESTDIR)/etc/vmware-tools/plugins -+ mkdir -p $(prefix)/etc/vmware-tools ++ mkdir -p $(DESTDIR)$(prefix)/etc/vmware-tools # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. Modified: head/emulators/open-vm-tools/pkg-plist ============================================================================== --- head/emulators/open-vm-tools/pkg-plist Thu Nov 7 21:46:34 2013 (r333157) +++ head/emulators/open-vm-tools/pkg-plist Thu Nov 7 21:50:19 2013 (r333158) @@ -30,7 +30,6 @@ lib/libguestlib.la lib/libguestlib.so lib/libguestlib.so.0 libdata/pkgconfig/vmguestlib.pc -lib/vmware-tools/modules/drivers/linker.hints lib/vmware-tools/modules/drivers/vmblock.ko lib/vmware-tools/modules/drivers/vmhgfs.ko lib/vmware-tools/modules/drivers/vmmemctl.ko @@ -53,11 +52,8 @@ share/open-vm-tools/messages/ja/toolbox. share/open-vm-tools/messages/zh_CN/toolbox.vmsg share/vmware-tools/statechange.subr share/vmware-tools/scripts/vmware/network -@exec kldxref %D/lib/vmware-tools/modules/drivers 2>/dev/null || true -@unexec if test -f %D/lib/vmware-tools/modules/drivers/linker.hints; then rm -f %D/lib/vmware-tools/modules/drivers/linker.hints; fi @unexec if test -f %D/share/vmware-tools/tools.conf; then rm -f %D/share/vmware-tools/tools.conf; fi @unexec if test -h %D/etc/vmware-tools/plugins; then rm -f %D/etc/vmware-tools/plugins; fi -@dirrmtry lib/vmware-tools/modules/drivers @dirrmtry lib/vmware-tools/modules/input @dirrmtry lib/vmware-tools/modules @dirrmtry lib/vmware-tools