From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 22:01:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A7F416A41C for ; Mon, 11 Jul 2005 22:01:30 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay04.roc.ny.frontiernet.net (relay04.roc.ny.frontiernet.net [66.133.182.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id B760A43D45 for ; Mon, 11 Jul 2005 22:01:29 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter06.roc.ny.frontiernet.net (filter06.roc.ny.frontiernet.net [66.133.183.73]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id BD0163596D8; Mon, 11 Jul 2005 22:01:28 +0000 (UTC) Received: from relay04.roc.ny.frontiernet.net ([66.133.182.167]) by filter06.roc.ny.frontiernet.net (filter06.roc.ny.frontiernet.net [66.133.183.73]) (amavisd-new, port 10024) with LMTP id 21847-16-44; Mon, 11 Jul 2005 22:01:28 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-137-46-191.dsl2.elk.ca.frontiernet.net [67.137.46.191]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id 4F19B359377; Mon, 11 Jul 2005 22:01:13 +0000 (UTC) Received: from [192.168.1.22] (unknown [192.168.1.22]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id D75B21C6AEB; Mon, 11 Jul 2005 15:01:16 -0700 (PDT) Message-ID: <42D2EC27.6070506@mykitchentable.net> Date: Mon, 11 Jul 2005 15:01:11 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= References: <42D2E671.40501@t-hosting.hu> In-Reply-To: <42D2E671.40501@t-hosting.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20040701 (2.0) at filter06.roc.ny.frontiernet.net Cc: scuba@centroin.com.br, freebsd-questions@freebsd.org Subject: Re: How to pass configure options 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: Mon, 11 Jul 2005 22:01:30 -0000 On 7/11/2005 2:36 PM Kövesdán Gábor wrote: > scuba@centroin.com.br wrote: > >> Hi all, >> >> How can I pass some extra "configure" options when making ports? >> >> I could not find it on FAQ or handbook. >> >> I´m using the "hard" way. >> >> make fetch >> cd work/someprog/ >> ./configure --with... >> cd ../../ >> make >> make install >> >> Is there any other way to do that from make command line? >> >> >> - Marcelo >> >> >> >> >> > Try something like this: > > make CONFIGURE_ARGS+=--with-feature1 --with-feature2 ... install > > I'm not sure it works, but there is a CONFIGURE_ARGS macro in the > ports' Makefile for this purpose and You should be able to extend that > in this way afaik. > Or if you're using port upgrade, look at the example file /usr/local/etc/pkgtools.conf. Find the section called "MAKE_ARGS" (I think. Pretty close to that if I'm wrong), and then specify your settings there. That way any future portupgrade invocations will use your defined settings and save you the grief of "WTF happened?" :) Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com