From owner-freebsd-questions Sun Feb 3 9:39:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id D8ACE37B417 for ; Sun, 3 Feb 2002 09:39:33 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailg.telia.com (8.11.6/8.11.6) with ESMTP id g13HdVA08211 for ; Sun, 3 Feb 2002 18:39:31 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id SAA21247 for ; Sun, 3 Feb 2002 18:39:31 +0100 (CET) Received: (qmail 22127 invoked by uid 1001); 3 Feb 2002 17:39:27 -0000 Date: Sun, 3 Feb 2002 18:39:26 +0100 From: Erik Trulsson To: D J Hawkey Jr Cc: questions at FreeBSD Subject: Re: Changing Make options duing port installation? Message-ID: <20020203173925.GA20446@student.uu.se> Mail-Followup-To: D J Hawkey Jr , questions at FreeBSD References: <20020203112402.A7291@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020203112402.A7291@sheol.localdomain> User-Agent: Mutt/1.3.27i 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 Sun, Feb 03, 2002 at 11:24:02AM -0600, D J Hawkey Jr wrote: > Hello All. > > How does one change the make options and parameters during the installation > of any one port? Depends on the port. > > An example: The mutt port disables SSL-encryption ('mutt -v' reports > "-USE_SSL"). The skeletons in /usr/ports/mail/mutt reference a Makefile > (and/or config.h?) variable "WITH_SSL" which governs the build. It is a 'make' variable. > > I would like SSL-encrypted POP in mutt. Assuming (yeah, I know...) that > "WITH_SSL" does this (and nothing else?), can one either pass a parameter > to 'make' (like "CCOPTIONS=... make", or somesuch), or hack the variable > into one of the skeleton files? You pass a parameter to 'make' like this: cd /usr/ports/mail/mutt make WITH_SSL=yes install And that's it. Easy, wasn't it. :-) > > The first would be the most convenient, but if the latter is the way to > go, is there a "standard" or "uniform" place to add such things, or some > established methodology? > > If this has been covered before, sorry. I couldn't find anything relevant > in the Handbook. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message