ports, portsdb and /etc/src.conf interaction

Kris Kennaway kris at obsecurity.org
Tue Mar 28 21:56:01 UTC 2006


On Tue, Mar 28, 2006 at 04:51:18PM -0500, Kris Kennaway wrote:
> On Tue, Mar 28, 2006 at 11:05:08PM +0200, Jens Schweikhardt wrote:
> > hello, world, and gerald in particular\n
> > 
> > it appears there is some unexpected interaction between the ports and
> > the recently introduced /etc/src.conf on 7-CURRENT. The man page
> > src.conf(5) lists among others WITHOUT_FORTRAN and WITHOUT_NIS. These
> > are two variables that cause many ports operations to fail (if you
> > set them in /etc/src.conf) with the following failure mode:
> > 
> > /usr/ports/lang/gfortran # make -n fetch
> > "/usr/share/mk/bsd.own.mk", line 353: WITH_FORTRAN and WITHOUT_FORTRAN can't both be set.
> 
> Really the problem is that src.conf shouldn't be sourced for port
> builds.

Except..hmm, sometimes port builds do need to know src.conf settings
like WITHOUT_PROFILE, WITHOUT_KERBEROS, etc (also WITHOUT_FORTRAN, I
guess).

Kris



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060328/f9bc557e/attachment.pgp


More information about the freebsd-ports mailing list