From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 1 04:00:56 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 B4C0A16A4CE for ; Fri, 1 Apr 2005 04:00:56 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4213143D31 for ; Fri, 1 Apr 2005 04:00:56 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so759415wra for ; Thu, 31 Mar 2005 20:00:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=exg006fUKILzHORXUTpRlB8JCumQpbg6AURYDzYPF64xeLluyVl0o5cb0K09ZAy9KPSL4W5Wl0jaFPGhqW+17bNuk0oqon1QyB8R8rN1XbybB7SMC8jGSptxsWZOXWmTk6nj3sMcvpSvP4KzSeM2TctZUxa4BdfBEj0VYV10u6w= Received: by 10.54.35.35 with SMTP id i35mr323971wri; Thu, 31 Mar 2005 20:00:55 -0800 (PST) Received: by 10.54.40.69 with HTTP; Thu, 31 Mar 2005 20:00:55 -0800 (PST) Message-ID: <2fd864e0503312000701c87c2@mail.gmail.com> Date: Thu, 31 Mar 2005 20:00:55 -0800 From: Astrodog To: "Conrad J. Sabatier" In-Reply-To: <20050331155046.21a5d323@dolphin.local.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <790a9fff050331080572081eb6@mail.gmail.com> <2fd864e05033109061a68554d@mail.gmail.com> <20050331203915.GH1687@dragon.NUXI.org> <20050331155046.21a5d323@dolphin.local.net> cc: freebsd-amd64@freebsd.org Subject: Re: Working and broken Linux ports on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Astrodog List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 04:00:56 -0000 On Mar 31, 2005 1:50 PM, Conrad J. Sabatier wrote: > On Thu, 31 Mar 2005 12:39:15 -0800, "David O'Brien" > wrote: > > > On Thu, Mar 31, 2005 at 09:06:43AM -0800, Astrodog wrote: > > > Long term.... Perhaps a > > > Linux32 and Linux64 dep? Not sure. Anyone have thoughts on that? I > > > know its been discussed before, but I don't think a resolution ever > > > came out of it. > > > > No. There will only be /compat/linux. No linux32 or linux64 > > versions. Sometime in the future the linux_base port will be larger > > (ie, contain 64-bit objects also). The 64-bit things will live in the > > places specified by the Linux LSB spec. > > > > > For now, I'm > > > going to go with the assumption that there will be /compat/linux32 > > > and linux64. If this has been resolved, let me know so I can make > > > the ports fix I'm gonna work on reflect that. > > > > For right now, add amd64 to 'ONLY_FOR_ARCHS'. And add any of the rest > > of the below that is needed: > > > > .if (${ARCH} == "amd64") > > ARCH= i386 > > FALLBACK_ELF_MIB= kern.elf32.fallback_brand > > RPMFLAGS+= --noscripts > > .endif > > > > Doesn't anyone read the ports' Makefile any more?? > > I already see one linux port for which the above additions are > insufficient, namely, graphics/linux-jpeg: > > PORTNAME= jpeg > PORTVERSION= 6b.15 > PORTREVISION= 3 > CATEGORIES= graphics linux > > MAINTAINER= freebsd-emulation@FreeBSD.org > COMMENT= RPM of the JPEG lib > > RPM_SET= libjpeg-6b-15.${MACHINE_ARCH}.rpm > ^^^^^^^^^^^^^^^ > .include "../../x11-toolkits/linux-gtk/Makefile" > > -- > Conrad J. Sabatier -- "In Unix veritas" > Those are going to be the ugliest to get working. My fix thus far has been to simply s/${MACHINE_ARCH}/i386 on the linux ports. Seemed to work alright.