Date: Mon, 30 Jan 2006 10:23:37 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Kris Kennaway <kris@obsecurity.org> Cc: Jean-Yves Lefort <jylefort@FreeBSD.org>, 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]) Message-ID: <20060130102337.azmqgbcstcksgo88@netchild.homeip.net> In-Reply-To: <20060130065505.GA24898@xor.obsecurity.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@obsecurity.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060130102337.azmqgbcstcksgo88>