On 10/7/08, Cligny, Laurent <[EMAIL PROTECTED]> wrote: > Hello, > > I want to use open-vm-tools-nox11 on a 7.0-RELEASE box without using the > port tree on it. > So I wanted to build a package for this port on another 7.0-RELEASE > machine, wiche have the port tree installed and up-to-date. > > But, here's what's happening with either "pkgcreate -p" or "make > package": > > > # make package > ===> Building package for open-vm-tools-nox11-102166_4 > Creating package > /usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz > Registering depends: icu-3.8.1_1 libdnet-1.11_2. > Registering conflicts: open-vm-tools-[0-9]* vmware-guestd[0-9]* > vmware-tools[0-9]*. > Creating bzip'd tar ball in > '/usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz' > tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmblock.ko: Cannot stat: > No such file or directory > tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmhgfs.ko: Cannot stat: > No such file or directory > tar: %%NOTON5%%sbin/mount_vmhgfs: Cannot stat: No such file or directory > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > > Stop in /usr/ports/emulators/open-vm-tools-nox11. > The ports Makefile is using missing a PLIST_SUB+= NOTON5="", and is incorrectly defining SUB_LIST. This has the side effect of not being able to package these files.
Attached is an untested patch to the Makefile. To apply it: cd /usr/ports/emulator/open-vm-tools patch < /path/to/open-vm-tools.patch Then reinstall the port and create the package. If this patch works, then use send-pr to submit this change for this port. Scot
Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/open-vm-tools/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 29 Sep 2008 19:17:15 -0000 1.14 +++ Makefile 7 Oct 2008 18:25:59 -0000 @@ -56,9 +56,11 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} < 600000 -SUB_LIST+= NOTON5="@comment " +SUB_LIST+= NOTON5="#" +PLIST_SUB+= @comment " .else SUB_LIST+= NOTON5="" +PLIST_SUB+= NOTON5="" .endif post-patch:
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"