From owner-freebsd-ports@FreeBSD.ORG Wed Nov 7 19:10:08 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB4D4153; Wed, 7 Nov 2012 19:10:08 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id E6DCF8FC08; Wed, 7 Nov 2012 19:10:07 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hr7so1534313wib.13 for ; Wed, 07 Nov 2012 11:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=yP+PtCSt1qUNkljCwN6DSsJ0KdwWztY56cbUYwKTBM4=; b=BGCPucykcef7R1jKS/2pvg8taevz4iJY2M5N2BL6AKNpizxkoMIkIuIlffLCGixld6 ON0cEb5lDCRLhKT5ewsyV6qp4Vavxo1jHVghAE7LdQEhFI5yt9+2JfCe+/Yet5Bidzc8 YbmHoolAiobqhuZQj5G1YHmC87CYxrNR9d/FJeaLuT9ilFpu3Q1Xkoh3yqA664ZZa4df kxhhwaOp42ULIvlBBXmXM7fdnu33Mufcnmb35mFwAmYRHkKuF1S1vSWROdeUTzHyJ4Jp x8pXzSwPis0QLYybbGoPfirstmH+6Qv8Bv0YpszlozW20Ke9fzRK75Zbclb9VjE1iZwM L9Hg== Received: by 10.216.197.142 with SMTP id t14mr2240393wen.151.1352315407147; Wed, 07 Nov 2012 11:10:07 -0800 (PST) Received: from dragon.dg (41-132-211-149.dsl.mweb.co.za. [41.132.211.149]) by mx.google.com with ESMTPS id r10sm4873030wiz.0.2012.11.07.11.10.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Nov 2012 11:10:06 -0800 (PST) From: David Naylor To: Chris Rees Subject: Re: wine/i386 for FreeBSD/amd64 port (aka wine-fbsd64) Date: Wed, 7 Nov 2012 21:09:59 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.9.1; amd64; ; ) References: <5D.CB.23131.5AE46905@smtp02.insight.synacor.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4323133.Up0WyAW5uM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201211072110.02773.naylor.b.david@gmail.com> Cc: Thomas Mueller , FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 19:10:08 -0000 --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--