Re: How to build a BROKEN port?



On 12/30/10 11:10, Giorgos Keramidas wrote:
On Thu, 30 Dec 2010 10:49:25 +1000, Da Rock<freebsd-questions@xxxxxxxxxxxxxxxxxxxxxxxxx> 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... :)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: freebsd-current Digest, Vol 30, Issue 3
    ... >> I commited a fix that would have caused all of the jerky behaviors under ... > The port is broken on all architectures. ... > Rionda aka Matteo Riondato ...
    (freebsd-current)
  • [git patches] net driver fixes
    ... Fix return code in pci-skeleton.c ... struct adapter *adapter; ... int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters, ... RMON counters into the port statistics. ...
    (Linux-Kernel)
  • Re: [9fans] Two suggestions for ape
    ... easier to fix ape than to convince maintaners of autoconf to fix on ... limitation in Plan9 awk may be more fundamental problem. ... these problems arise only if one wants to have a port for Plan9 ...
    (comp.os.plan9)
  • Re: Falcons Device 6 and 7 problem
    ... the infamous software patchs were created to ... Most Falcon owners probably know what I'm ... Is there a Hardware fix that one can do that would ... Some early Falcon's had a bug where the serial port would not work until the machine had been reset. ...
    (comp.sys.atari.st)
  • Re: Microsoft Exchange 2007 and port 80?
    ... Fix the serious stuff. ... So apparently it is every 5 days because mail flow on the Exchange ... server stopped again today. ... You still haven't said whether or not you can connect to port 25 on ...
    (microsoft.public.exchange.admin)