From owner-freebsd-ports@FreeBSD.ORG Mon Jan 30 03:08:50 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 95BBE16A420; Mon, 30 Jan 2006 03:08:50 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from host-212-68-242-42.brutele.be (host-212-68-242-42.brutele.be [212.68.242.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C405543D46; Mon, 30 Jan 2006 03:08:49 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 400C05599; Mon, 30 Jan 2006 04:08:48 +0100 (CET) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id EF9DAC129; Mon, 30 Jan 2006 04:08:47 +0100 (CET) Date: Mon, 30 Jan 2006 04:08:47 +0100 From: Jean-Yves Lefort To: Alexander Leidinger Message-Id: <20060130040847.2ee8891f.jylefort@FreeBSD.org> In-Reply-To: <20060129221019.1c0a5d10@Magellan.Leidinger.net> References: <20060129185239.GC83362@ip.net.ua> <20060129221019.1c0a5d10@Magellan.Leidinger.net> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__30_Jan_2006_04_08_47_+0100_=WvdsCmX/3uKSnvj" Cc: ports@freebsd.org, ru@freebsd.org, mezz@freebsd.org Subject: Re: Flaw in print/acroread7 (was: 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: Mon, 30 Jan 2006 03:08:50 -0000 --Signature=_Mon__30_Jan_2006_04_08_47_+0100_=WvdsCmX/3uKSnvj Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 29 Jan 2006 22:10:19 +0100 Alexander Leidinger wrote: > On Sun, 29 Jan 2006 20:52:40 +0200 > Ruslan Ermilov wrote: >=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: > >=20 > > %%% > > Index: bsd.port.mk >=20 > For this particular problem: acroread7 should set ARCH like every other > linux port does (better: every other tested linux port should do) to > i386. But there are more flaws in Trevor's ports and I decided to let > other people "handle" it (e.g. mezz has some patches for acroread7 > which would let the port behave more to the rules of the porters > handbook). Any reason to not consider (cluster test) Ruslan's solution? --=20 Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Mon__30_Jan_2006_04_08_47_+0100_=WvdsCmX/3uKSnvj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3YM/yzD7UaO4AGoRArXdAJ9S1TpYcMNbmDCM0ihELdO6EACtAgCfQvTD ZC4D3N1yS9/xAZrP1RhmnA4= =GC1g -----END PGP SIGNATURE----- --Signature=_Mon__30_Jan_2006_04_08_47_+0100_=WvdsCmX/3uKSnvj--