wine/i386 for FreeBSD/amd64 port (aka wine-fbsd64)

Jan Beich jbeich at tormail.org
Sat Nov 3 21:50:41 UTC 2012


David Naylor <naylor.b.david at gmail.com> writes:

> The post-package-script (run only if WITH_PKGNG is defined):
>  - Amends the package so the arch label to 64bit

WITH_PKGNG is checked too early. The port fails to fix arch on 10.0
without the variable being set explicitly in make.conf.

http://svn.freebsd.org/changeset/ports/305637

> To produce the package on an amd64 system do the following:
> # (cd /usr/ports/emulators/; patch -p0 < /path/to/diff)
> # make -C /usr/src world DESTDIR=/i386 TARGET=i386
> # mount -t devfs devfs /i386/dev
> # mkdir /i386/usr/ports
> # mount -t nullfs /usr/ports /i386/usr/ports
> # chroot make -C /usr/ports/emulators/wine-fbsd64 package WITH_PKGNG=yes

This is probably easier to manage when using poudriere e.g.

  # poudriere jails -c -j 10i386 -v HEAD -a i386 -m allbsd
  # patch -Efsp0 -i /path/to/diff -d /poudriere/ports/default/ports/emulators
  # poudriere bulk -j 10i386 emulators/wine-fbsd64


More information about the freebsd-ports mailing list