From owner-freebsd-ports@FreeBSD.ORG Sun Jan 29 20:42:00 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC7CD16A420; Sun, 29 Jan 2006 20:42:00 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C9B743D45; Sun, 29 Jan 2006 20:42:00 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2B1531A3C20; Sun, 29 Jan 2006 12:42:00 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5C96E5403B; Sun, 29 Jan 2006 15:41:59 -0500 (EST) Date: Sun, 29 Jan 2006 15:41:58 -0500 From: Kris Kennaway To: Ruslan Ermilov Message-ID: <20060129204158.GA87336@xor.obsecurity.org> References: <20060129185239.GC83362@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <20060129185239.GC83362@ip.net.ua> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org Subject: Re: [ru@FreeBSD.org: [patch] mixed i386/amd64 ports semi-broken] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2006 20:42:00 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 29, 2006 at 08:52:40PM +0200, Ruslan Ermilov wrote: > Timed out waiting for response, resending to ports@... Sorry, I was on vacation. > ----- Forwarded message from Ruslan Ermilov ----- >=20 > Date: Wed, 14 Dec 2005 20:09:54 +0200 > From: Ruslan Ermilov > To: Kirill Ponomarew , Kris Kennaway > Cc: amd64@FreeBSD.org > Subject: [patch] mixed i386/amd64 ports semi-broken > User-Agent: Mutt/1.5.9i >=20 > Hi there, >=20 > I hit this problem attempting to install print/acroread7 on amd64. > It depends on emulators/linux_base-8, which rewrites ${ARCH} from > "amd64" to "i386". Unfortunately, when linux_base-8 is processed > in a submake, e.g., when I run "make fetch-recursive" in > print/acroread7, no rewrite of ${ARCH} actually happens because > bsd.port.mk mistakenly thinks that ${ARCH} can never change, so > it's getting passed ARCH already set to "amd64", and as a highest > priority command-line type make(1) variable. This results in > ${MD5_FILE} improperly set to distinfo.amd64 which doesn't exist. > Here's a fix: Isn't that change likely to effect many other ports? Kris > %%% > Index: bsd.port.mk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v > retrieving revision 1.518 > diff -u -p -r1.518 bsd.port.mk > --- bsd.port.mk 8 Nov 2005 09:02:51 -0000 1.518 > +++ bsd.port.mk 14 Dec 2005 17:54:40 -0000 > @@ -5071,7 +5071,6 @@ __softMAKEFLAGS+=3D '${softvar}+=3D${${ > .if !defined(NOPRECIOUSMAKEVARS) > # These won't change, so we can pass them through the environment > .MAKEFLAGS: \ > - ARCH=3D"${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ > OPSYS=3D"${OPSYS:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ > OSREL=3D"${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ > OSVERSION=3D"${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ > %%% >=20 >=20 > Cheers, > --=20 > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer >=20 >=20 >=20 > ----- End forwarded message ----- --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3SiVWry0BWjoQKURAooPAJwPWB/YdS1ExLB2Jp37CvDoVc5LwACg1xoX e9bB/HdL/OJgCLxg5qmIwDE= =IBRX -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--