FreeBSD Port: open-vm-tools-nox11-102166_4

Scot Hetzel swhetzel at gmail.com
Tue Oct 7 18:34:59 UTC 2008


On 10/7/08, Cligny, Laurent <Laurent.Cligny at isobox.fr> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: open-vm-tools.patch
Type: text/x-diff
Size: 507 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20081007/f0dccfec/open-vm-tools.bin


More information about the freebsd-ports mailing list