Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 21:09:59 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Chris Rees <crees@freebsd.org>
Cc:        Thomas Mueller <mueller23@insightbb.com>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: wine/i386 for FreeBSD/amd64 port (aka wine-fbsd64)
Message-ID:  <201211072110.02773.naylor.b.david@gmail.com>
In-Reply-To: <CADLo83-RLh2e8-Q__QTJLDc2nu_XP=qSS%2BmKFaK3p-wS3a4Y=g@mail.gmail.com>
References:  <5D.CB.23131.5AE46905@smtp02.insight.synacor.com> <CADLo83-RLh2e8-Q__QTJLDc2nu_XP=qSS%2BmKFaK3p-wS3a4Y=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4323133.Up0WyAW5uM
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

On Sunday, 4 November 2012 13:31:46 Chris Rees wrote:
> I think this is very interesting... but I'm not 100% convinced the
> best place for this is in the ports tree.  However, it would improve
> visibility for it, with a good IGNORE message.

Ideally, FreeBSD should have an automagical method of supporting i386 packa=
ges=20
on an amd64 system.  Please see my reply to Thomas Muller for my thoughts o=
n=20
this topic.

> We have a problem however; we can't include bsd.port.pre.mk in a slave
> port.
>=20
> The solution I can think of is;
>=20
> post-package-script:
>   if [ "${PKG_BIN:T}" =3D "pkg" ]; then \
>     ${XZ_CMD} -dc ${PKGFILE} | \
>     ${SED} -e "s/^\(arch: freebsd:.*:x86\):32/\1:64/" | \
>     ${XZ_CMD} > ${WRKDIR}/${PKGNAME}.txz; \
>     ${MV} ${WRKDIR}/${PKGNAME}.txz ${PKGFILE}; \
>   fi

Thanks, I've added that to the port and will test it later :-)

Thanks

--nextPart4323133.Up0WyAW5uM
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEABECAAYFAlCasgoACgkQUaaFgP9pFrLz3QCfWa6NuvmbYQtFFaDv+2N6DyO9
6QAAmwdz684SyrgrW9Y4qiM3pwt5smM5
=TVW1
-----END PGP SIGNATURE-----

--nextPart4323133.Up0WyAW5uM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211072110.02773.naylor.b.david>