Date: Thu, 31 Mar 2005 20:00:55 -0800 From: Astrodog <astrodog@gmail.com> To: "Conrad J. Sabatier" <conrads@cox.net> Cc: freebsd-amd64@freebsd.org Subject: Re: Working and broken Linux ports on amd64 Message-ID: <2fd864e0503312000701c87c2@mail.gmail.com> In-Reply-To: <20050331155046.21a5d323@dolphin.local.net> References: <BE719A37.36B77%michael.hopkins@hopkins-research.com> <790a9fff050331080572081eb6@mail.gmail.com> <2fd864e05033109061a68554d@mail.gmail.com> <20050331203915.GH1687@dragon.NUXI.org> <20050331155046.21a5d323@dolphin.local.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 31, 2005 1:50 PM, Conrad J. Sabatier <conrads@cox.net> wrote: > On Thu, 31 Mar 2005 12:39:15 -0800, "David O'Brien" <obrien@freebsd.org> > 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 <conrads@cox.net> -- "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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fd864e0503312000701c87c2>