From owner-freebsd-ports@FreeBSD.ORG Mon Jan 30 09:23:41 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 136CA16A420; Mon, 30 Jan 2006 09:23:41 +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 357E143D48; Mon, 30 Jan 2006 09:23:40 +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 k0U9EWH0070063; Mon, 30 Jan 2006 10:14:33 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0U9Nb50058687; Mon, 30 Jan 2006 10:23:37 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 30 Jan 2006 10:23:37 +0100 Message-ID: <20060130102337.azmqgbcstcksgo88@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 30 Jan 2006 10:23:37 +0100 From: Alexander Leidinger To: Kris Kennaway References: <20060129185239.GC83362@ip.net.ua> <20060129221019.1c0a5d10@Magellan.Leidinger.net> <20060130040847.2ee8891f.jylefort@FreeBSD.org> <20060130031719.GA22430@xor.obsecurity.org> <20060130050239.485d2547.jylefort@FreeBSD.org> <20060130055838.GA24139@xor.obsecurity.org> <20060130071841.4aed92a2.jylefort@FreeBSD.org> <20060130065505.GA24898@xor.obsecurity.org> In-Reply-To: <20060130065505.GA24898@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: Jean-Yves Lefort , 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 09:23:41 -0000 Kris Kennaway wrote: >> But since it >> passes ARCH as a make argument, it breaks things such as: >> >> .if (${ARCH} == "amd64") >> ARCH= i386 >> RPMFLAGS+= --ignorearch >> .endif > > How many ports do that? Nearly every linux port which is known to work on amd64 does something like this. >> because the ARCH=i386 assignment is overriden by the ARCH passed on >> the submake command line. Removing ARCH from .MAKEFLAGS should fix the >> issue without breaking ports. > > Perhaps you can just do the same thing, and pass in the new ARCH to > the port build as a make argument. I want to highlight the fact, that the current way of doing it highlighted the "bug" that acroread7 isn't "certified" for the use on amd64. Someone has to handle the ARCH part in the acroread port as other linux-XXX ports on amd64 handle this. If it works on amd64, a committer who isn't bored to interact with Trevor should then commit this "certification" (it's just setting ARCH to i386 in the amd64 case). Are there other ports which are affected by this? If yes, how many of them are not linux ports? I only expect linux ports to be affected by the current way of handling ARCH in bsd.port.mk. And they are affected by this, because nobody cared to test them in the appropriate way on amd64 and commit/submit the "blessing" for amd64. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 You will receive a legacy which will place you above want.