From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 03:42:55 2004 Return-Path: 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 20A1616A4CE for ; Tue, 6 Jan 2004 03:42:55 -0800 (PST) Received: from madras.dyndns.org (dsl-137.241.240.220.dsl.comindico.com.au [220.240.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A97A43D2F for ; Tue, 6 Jan 2004 03:42:53 -0800 (PST) (envelope-from ggop@madras.dyndns.org) Received: from madras.dyndns.org (localhost [127.0.0.1]) by madras.dyndns.org (8.12.9p1/8.12.9) with ESMTP id i06BfWL9002538; Tue, 6 Jan 2004 22:41:32 +1100 (EST) (envelope-from ggop@madras.dyndns.org) Received: (from ggop@localhost) by madras.dyndns.org (8.12.9p1/8.12.9/Submit) id i06BfWq5002533; Tue, 6 Jan 2004 22:41:32 +1100 (EST) Date: Tue, 6 Jan 2004 22:41:29 +1100 From: Gautam Gopalakrishnan To: August Simonelli Message-ID: <20040106114129.GA2472@madras.dyndns.org> References: <325C172F-403C-11D8-9654-000A95A55144@swiftdsl.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <325C172F-403C-11D8-9654-000A95A55144@swiftdsl.com.au> User-Agent: Mutt/1.4.1i cc: FreeBSD-questions Subject: Re: changing configure options when using a port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 11:42:55 -0000 On Tue, Jan 06, 2004 at 10:33:49PM +1100, August Simonelli wrote: > Hi all, > > I'm slowly getting used to FreeBSD from a Linux background so forgive > the ignorant questions. > > I'm curious what the best way to add configure options are when > installing from a port. For example, i'd like to add --enable-rewrite > to apache2. Can I just put it in the Makefile in /usr/ports/www/apache2 > ? Is this generally the best way to do this? If you look at the Makefile in /usr/ports/www/apache2, you would notice a variable called WITH_MODULES. You would need to see what modules you want and run make like: make WITH_MODULES="include rewrite auth" install clean or whatever you want. There are examples given in the makefile. You could change the makefile, but it will be overwriten next time you upgrade the ports collection. hth Gautam