From owner-freebsd-ports@FreeBSD.ORG Sun Jan 29 18:56:49 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 1C3F116A420 for ; Sun, 29 Jan 2006 18:56:49 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 361B243D46 for ; Sun, 29 Jan 2006 18:56:47 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k0TIujLN065068 for ; Sun, 29 Jan 2006 20:56:45 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 17639-03 for ; Sun, 29 Jan 2006 20:56:44 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k0TIqdmM064923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 29 Jan 2006 20:52:39 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k0TIqeSP084490 for ports@FreeBSD.org; Sun, 29 Jan 2006 20:52:40 +0200 (EET) (envelope-from ru) Date: Sun, 29 Jan 2006 20:52:40 +0200 From: Ruslan Ermilov To: ports@FreeBSD.org Message-ID: <20060129185239.GC83362@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: Subject: [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 18:56:49 -0000 --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Timed out waiting for response, resending to ports@... ----- Forwarded message from Ruslan Ermilov ----- Date: Wed, 14 Dec 2005 20:09:54 +0200 =46rom: 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 Hi there, 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: %%% 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}" \ %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer ----- End forwarded message ----- --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3Q73qRfpzJluFF4RAujIAJ0X5/vQRAXU2527BT6esznUZNjAnwCcDg8P 9cLtBkU5yzPZXbYyExuXpHA= =pGSu -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK--