From owner-freebsd-amd64@FreeBSD.ORG Sun Apr 10 02:57:25 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3DE16A4CE for ; Sun, 10 Apr 2005 02:57:25 +0000 (GMT) Received: from lakermmtao01.cox.net (lakermmtao01.cox.net [68.230.240.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBB343D1D for ; Sun, 10 Apr 2005 02:57:24 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.70.216]) by lakermmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP <20050410025722.YCTN29182.lakermmtao01.cox.net@dolphin.local.net>; Sat, 9 Apr 2005 22:57:22 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.3/8.13.3) with ESMTP id j3A2vK1P082154; Sat, 9 Apr 2005 21:57:20 -0500 (CDT) (envelope-from conrads@cox.net) Date: Sat, 9 Apr 2005 21:57:15 -0500 From: "Conrad J. Sabatier" To: Astrodog Message-ID: <20050409215715.3d30448e@dolphin.local.net> In-Reply-To: <2fd864e05040911286938343a@mail.gmail.com> References: <200504091737.j39Hb6uY023089@aldan.algebra.com> <2fd864e05040911286938343a@mail.gmail.com> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: amd64@freebsd.org cc: Mikhail Teterin Subject: Re: linux- ports on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 02:57:25 -0000 On Sat, 9 Apr 2005 11:28:59 -0700, Astrodog wrote: > On Apr 9, 2005 10:37 AM, Mikhail Teterin wrote: > > Hello! > > > > linux_base-8 installed without a hitch, but linux-gtk2 and > > its dependencies kept complaining about amd64. I had to patch > > them all with > > > > -ONLY_FOR_ARCHS= i386 > > +ONLY_FOR_ARCHS= i386 amd64 > > > > and rename distinfo.i386 back into distinfo for the time being. > > linux-jpeg was a special case, requiring the following patch: > > > > -RPM_SET= libjpeg-6b-15.${MACHINE_ARCH}.rpm > > +RPM_SET= libjpeg-6b-15.${MACHINE_ARCH:S/amd64/i386/}.rpm > > > > As a result linux-firefox installed and is usable. > > > > Is this problem just an oversight or was there a conscientious > > decision to limit these ports to i386, when amd64 is also perfectly > > capable to use them? > > > > -mi > > This is an issue I'm currently trying to come up with a more systemic > solution for. It gets uglier once you have system, and compat rpms. I'm not sure what you mean here. "System" and "compat" rpms??? > Anyone have any thoughts on a "long term" solution for this? I agree that we need some sort of over-arching approach, rather than a piecemeal, port-by-port "solution". Of course, there are bound to be some ports that will prove to be resistant to such a generalized approach, but hopefully, these will prove to be in the minority. Maybe something along the lines of a bsd.linux.mk file? -- Conrad J. Sabatier -- "In Unix veritas"