Date: Thu, 30 Dec 2010 11:14:46 +1000 From: Da Rock <freebsd-questions@herveybayaustralia.com.au> To: freebsd-questions@freebsd.org Subject: Re: How to build a BROKEN port? Message-ID: <4D1BDD06.5070303@herveybayaustralia.com.au> In-Reply-To: <xeia8vz8njzn.fsf@kobe.laptop> References: <4D1BD715.2010401@herveybayaustralia.com.au> <xeia8vz8njzn.fsf@kobe.laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/30/10 11:10, Giorgos Keramidas wrote: > On Thu, 30 Dec 2010 10:49:25 +1000, Da Rock<freebsd-questions@herveybayaustralia.com.au> wrote: > >> Pardon me for being the queer one to ask this- but how does one >> force/override building a port marked as broken? >> >> I'm not about to run a make install clean on it, but I would like to at >> least have a crack at trying to fix whats wrong. In this particular case >> its involving a particular arch, and seeing as I have this arch I'd >> reckon I'm an ideal candidate to try and help fix it :) >> >> I poked around for a bit for an answer, but pretty much all the info is >> on how to mark it as broken- not overriding it. >> > Edit it's 'Makefile'. Look for an assignment of the form: > > .if ${MACHINE_ARCH} = "amd64" > BROKEN= This port fails to frobnicate foo on amd64. > .endif > > Remove this assignment, build the port and try to debug its problems. > When you have a fix, run "make clean" in the port directory, save a copy > of the entire port subdirectory somewhere and email the person or team > listed in MAINTAINER with your fix. > I got that one. But what you have replied here has got my attention: ${MACHINE_ARCH} and ${ARCH} the same? I have ${ARCH} in this one. .if ${ARCH} == "amd64" I'm stupid now, but I will learn... :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1BDD06.5070303>