From owner-freebsd-ports@FreeBSD.ORG Tue Mar 28 21:05:36 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDDE416A422; Tue, 28 Mar 2006 21:05:36 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FC3A444A5; Tue, 28 Mar 2006 21:05:33 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 3EC8A3B8C0; Tue, 28 Mar 2006 23:05:32 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.13.6/8.13.6) with ESMTP id k2SL58F7096845; Tue, 28 Mar 2006 23:05:08 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.13.6/8.13.6/Submit) id k2SL58DS096844; Tue, 28 Mar 2006 23:05:08 +0200 (CEST) (envelope-from schweikh) Date: Tue, 28 Mar 2006 23:05:08 +0200 From: Jens Schweikhardt To: freebsd-ports@freebsd.org Message-ID: <20060328210508.GA2424@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: gerald@FreeBSD.org Subject: ports, portsdb and /etc/src.conf interaction X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 21:05:37 -0000 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)