Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 23:05:08 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        freebsd-ports@freebsd.org
Cc:        gerald@FreeBSD.org
Subject:   ports, portsdb and /etc/src.conf interaction
Message-ID:  <20060328210508.GA2424@schweikhardt.net>

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

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@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?



Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)



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