Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2007 12:44:59 -0800
From:      Paul Hoffman <phoffman@proper.com>
To:        "Scot Hetzel" <swhetzel@gmail.com>
Cc:        freeBSD-ports@freebsd.org
Subject:   Re: Modifying a port and keeping the mods across updates
Message-ID:  <p06240848c1d82f42c0e3@[10.20.30.108]>
In-Reply-To: <790a9fff0701201048scc83967s4edf1dae74437d39@mail.gmail.com>
References:  <p06240841c1d75354626b@10.20.30.108>	 <790a9fff0701192137y703108i421c05422eda39a7@mail.gmail.com>	 <p06240844c1d80886acef@10.20.30.108> <790a9fff0701201048scc83967s4edf1dae74437d39@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:48 PM -0600 1/20/07, Scot Hetzel wrote:
>Are you trying to add NSS_ENABLE_ECC to the MAKE_ENV?
>
>Normally you would put it in ports.conf as:
>
>security/nss:   MAKE_ENV+= NSS_ENABLE_ECC=1

Boy, that wasn't clear in the four lines of info on portconf.

>But this doesn't work. I tried setting CFLAGS+= NSS_ENABLE_ECC=1, and
>that removed the default CFLAGS.  Instead you need to use:
>
>cd /usr/ports
>echo "security/nss: CFLAGS= "`make -V CFLAGS`" -DNSS_ENABLE_ECC" >>
>/usr/local/etc/ports.conf

Yep, that works fine. Thanks! I'll pass this along to the folks in 
the NSS world as well.

If the security/nss port maintainer is on this list, it would be 
really grand to have NSS_ENABLE_ECC as an option in the port itself.

--Paul Hoffman



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