From owner-freebsd-ports@FreeBSD.ORG Sun Oct 29 16:28:52 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B71CA16A47B for ; Sun, 29 Oct 2006 16:28:52 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3523F43D6A for ; Sun, 29 Oct 2006 16:28:48 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from db2.internal (db2.internal [10.202.2.12]) by frontend1.messagingengine.com (Postfix) with ESMTP id 7F932DBEEB2 for ; Sun, 29 Oct 2006 11:28:47 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by db2.internal (MEProxy); Sun, 29 Oct 2006 11:28:49 -0500 X-Sasl-enc: xmybZI+3i/cf59HQ/nweGbiMyLRCvp++/Wi8Y9fiKAth 1162139329 Received: from gumby.localdomain (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 671C22F2A for ; Sun, 29 Oct 2006 11:28:49 -0500 (EST) From: RW To: freebsd-ports@freebsd.org Date: Sun, 29 Oct 2006 16:28:43 +0000 User-Agent: KMail/1.9.4 References: <20061028063938.GA8871@titan.klemm.apsfilter.org> In-Reply-To: <20061028063938.GA8871@titan.klemm.apsfilter.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200610291628.45246.list-freebsd-2004@morbius.sent.com> Subject: Re: what to use as "global" switch to not build x11 based ports ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 16:28:52 -0000 On Saturday 28 October 2006 07:39, Andreas Klemm wrote: > Hi, > > a USENET posting of a user, looking for a global make variable > to prevent building of x11 based software, caused me to look > how to do it best with FreeBSD. Maybe he came from Gentoo Linux ;-) > > At the moment I only found the variable WITHOUT_X11. > But its only for ports, that can be built optionally with and without > X11 support. It doesn't hinder directly to built x11 stuff using ports > collection. You could just add the following to make.conf .if ${.CURDIR:M*/x11*} IGNORE="dont build X11 ports" .endif Anything under the x11* categories would be marked as ignore, and anything that depends on them would fail to build.