From owner-freebsd-questions Tue Nov 13 2:53:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id A0DC537B416 for ; Tue, 13 Nov 2001 02:53:36 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id AEAAA2B75C; Tue, 13 Nov 2001 11:53:32 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 26207162; Tue, 13 Nov 2001 21:53:28 +1100 (EST) Date: Tue, 13 Nov 2001 21:53:28 +1100 From: Edwin Groothuis To: Rob B Cc: questions@freebsd.org Subject: Re: make options Message-ID: <20011113215328.G684@k7.mavetju.org> References: <5.1.0.14.2.20011113174628.01f3a730@pop.ozemail.com.au> <5.1.0.14.2.20011113162621.03a51ec0@pop.ozemail.com.au> <5.1.0.14.2.20011113162621.03a51ec0@pop.ozemail.com.au> <20011113174042.D684@k7.mavetju.org> <5.1.0.14.2.20011113174628.01f3a730@pop.ozemail.com.au> <20011113175516.F684@k7.mavetju.org> <5.1.0.14.2.20011113184249.01fa0b80@pop.ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.2.20011113184249.01fa0b80@pop.ozemail.com.au>; from rbyrnes@ozemail.com.au on Tue, Nov 13, 2001 at 06:44:29PM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 13, 2001 at 06:44:29PM +1100, Rob B wrote: > > # /usr/ports/www/squid24 makefile options > # - Enable ICMP pinging for heirarchy stats and selection > --enable-icmp > # - Enable logging of the User-Agent header > --enable-useragent-log > # - Kill parent (eg: RunCache) on shutdown (use with great care!!) > --enable-kill-parent-hack > # - Turn on SNMP server support > --enable-snmp > > Wouldn't every make operation try to use these flags though? Hmmm... after some more carefull looking at how /etc/make.conf is used I realize that what I was a little bit too optimistic regarding that. I was hoping that it would be able to be done via such a construction: .if defined(PORTNAME) && ${PORTNAME} == "squid" CONFIGURE_ARGS += --enable-icmp CONFIGURE_ARGS += --enable-useragent-log .endif but the brute assign-method used in the Makefile of squid24 breaks this. I'm sorry but it can't be solved this way. Edwin, always optimistic -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message