From owner-freebsd-questions Wed Aug 7 6:32: 4 2002 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 AB7E137B400 for ; Wed, 7 Aug 2002 06:31:59 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 36F4243E65 for ; Wed, 7 Aug 2002 06:31:58 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 11043 invoked from network); 7 Aug 2002 13:31:55 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 7 Aug 2002 13:31:55 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id E07B038B; Wed, 7 Aug 2002 15:31:52 +0200 (CEST) Date: Wed, 7 Aug 2002 15:31:52 +0200 From: Roman Neuhauser To: MikeM Cc: freebsd-questions@FreeBSD.org Subject: Re: How to pass configure parms into a port Message-ID: <20020807133152.GM281@freepuppy.bellavista.cz> Mail-Followup-To: MikeM , freebsd-questions@FreeBSD.org References: <200208061115140503.0049FE96@sentry.24cl.com> <20020806152707.GB281@freepuppy.bellavista.cz> <200208070920250907.03BA8FFB@sentry.24cl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208070920250907.03BA8FFB@sentry.24cl.com> User-Agent: Mutt/1.5.1i 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 > Date: Wed, 07 Aug 2002 09:20:25 -0400 > From: "MikeM" > To: freebsd-questions@FreeBSD.org > Cc: neuhauser@bellavista.cz > Subject: Re: How to pass configure parms into a port > > On 8/6/02 at 5:27 PM Roman Neuhauser wrote: > > >> I'd like to build the port of the nano editor and I'd like to > >> disable wrapping in the editor. If I were building nano from the > >> tarball, I'd specify the --disable-wrapping parameter on the > >> configure step of the build. > >> > >> But I am at a loss trying to specify that parameter on the make > >> step of building from a port. I checked the handbook, and I didn't > >> find anything that looked helpful for this question. > >> > >> What obvious thing am I overlooking? > > > > /usr/ports/Mk/bsd.port.mk :) seriously though, i think everyone > > should read it. it's tough as hell, but even if you wrap your head > > around 1% of it, it'll greatly help you understand ports. > > > > now, to answer your question: > > # make CONFIGURE_ARGS=--disable-wrapping install clean > ============= > > > Thanks. I had read bsd.port.mk (and I *do* agree with your assessment > of it :) ). I was not sure of the ramifications of > > # make CONFIGURE_ARGS=--disable-wrapping install clean > > when there are CONFIGURE_ARGS+=blah...blah..blah in the make files. > In other words, when I specify CONFIGURE_ARGS= on the make command > line, is that the initial value of CONFIGURE_ARGS, and all of the > CONFIGURE_ARGS+= statements in the make files work as expected (i.e., > appending to the command line value)? Or are the CONFIGURE_ARGS+= > values in the make file wiped out by the assigment of the command line > CONFIGURE_ARGS? this is covered in make(1), which i think you've read seeing you knew how to get the value of CONFIGURE_ARGS from it. ... > So the command line invocation of CONFIGURE_ARGS seems to work as > expected. Cool. I'll send a note to the handbook folk, and ask if > this can be added to the ports section of the handbook. documentation never killed anybody. :) -- FreeBSD 4.6-STABLE 3:27PM up 22:47, 8 users, load averages: 0.05, 0.01, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message