Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2002 18:39:26 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        D J Hawkey Jr <hawkeyd@visi.com>
Cc:        questions at FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Changing Make options duing port installation?
Message-ID:  <20020203173925.GA20446@student.uu.se>
In-Reply-To: <20020203112402.A7291@sheol.localdomain>
References:  <20020203112402.A7291@sheol.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020203173925.GA20446>