ports, portsdb and /etc/src.conf interaction
schweikh at schweikhardt.net
Tue Mar 28 21:05:37 UTC 2006
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.
# portsdb -uU
"/usr/share/mk/bsd.own.mk", line 353: WITH_NIS and WITHOUT_NIS can't both be set.
The first happens because /usr/ports/lang/gfortran/Makefile defines
WITH_FORTRAN unconditionally. I think a possible fix would be to
have it depend on the setting of WITHOUT_FORTRAN (this message
cc'd to lang/gfortran maintainer gerald at FreeBSD.org).
I have not found the port causing the portsdb to fail when
WITHOUT_NIS is defined. It might be /usr/ports/mail/exim, but
it's not reproducible with a simple "make -n fetch". Maybe you
guys have an idea?
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
More information about the freebsd-ports