From owner-freebsd-ports@FreeBSD.ORG Sun Jan 29 21:10:24 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 5622916A420; Sun, 29 Jan 2006 21:10:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD1FB43D46; Sun, 29 Jan 2006 21:10:22 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F917.dip.t-dialin.net [84.165.249.23]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k0TL1LZO063193; Sun, 29 Jan 2006 22:01:22 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0TLAKsI023972; Sun, 29 Jan 2006 22:10:20 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 29 Jan 2006 22:10:19 +0100 From: Alexander Leidinger To: Ruslan Ermilov Message-ID: <20060129221019.1c0a5d10@Magellan.Leidinger.net> In-Reply-To: <20060129185239.GC83362@ip.net.ua> References: <20060129185239.GC83362@ip.net.ua> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: ports@freebsd.org, mezz@freebsd.org Subject: 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: Sun, 29 Jan 2006 21:10:24 -0000 On Sun, 29 Jan 2006 20:52:40 +0200 Ruslan Ermilov wrote: > 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 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). Bye, Alexander. -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/