From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 01:18:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 123AC1065672 for ; Thu, 30 Dec 2010 01:18:32 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id B79FA8FC12 for ; Thu, 30 Dec 2010 01:18:31 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.193]) by mail.unitedinsong.com.au (Postfix) with ESMTP id CB5E05C46 for ; Thu, 30 Dec 2010 11:23:22 +1000 (EST) Message-ID: <4D1BDD06.5070303@herveybayaustralia.com.au> Date: Thu, 30 Dec 2010 11:14:46 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101227 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D1BD715.2010401@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to build a BROKEN port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2010 01:18:32 -0000 On 12/30/10 11:10, Giorgos Keramidas wrote: > On Thu, 30 Dec 2010 10:49:25 +1000, Da Rock 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... :)