Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2012 15:47:56 -0500
From:      Jan Beich <jbeich@tormail.org>
To:        David Naylor <naylor.b.david@gmail.com>
Cc:        ports@freebsd.org, Gerald Pfeifer <gerald@pfeifer.com>
Subject:   Re: wine/i386 for FreeBSD/amd64 port (aka wine-fbsd64)
Message-ID:  <1TUlZY-0008WW-R5@internal.tormail.org>
References:  <201211030949.11291.naylor.b.david@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Naylor <naylor.b.david@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1TUlZY-0008WW-R5>