From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 01:12:26 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 69FC410656A5 for ; Thu, 30 Dec 2010 01:12:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id AF3568FC16 for ; Thu, 30 Dec 2010 01:12:25 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: oBU1AhZ0009746 Received: from gkeramidas-glaptop.linux.gr (217-162-216-74.dclient.hispeed.ch [217.162.216.74]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id oBU1AhZ0009746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 30 Dec 2010 03:11:15 +0200 From: Giorgos Keramidas To: Da Rock References: <4D1BD715.2010401@herveybayaustralia.com.au> Date: Thu, 30 Dec 2010 02:10:36 +0100 In-Reply-To: <4D1BD715.2010401@herveybayaustralia.com.au> (Da Rock's message of "Thu, 30 Dec 2010 10:49:25 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org 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:12:26 -0000 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.