From owner-freebsd-gnome@FreeBSD.ORG Mon Jan 26 07:15:11 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF1BB16A4CE for ; Mon, 26 Jan 2004 07:15:11 -0800 (PST) Received: from bbnest.net (r211023.ap.plala.or.jp [220.108.211.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7222F43D2D for ; Mon, 26 Jan 2004 07:15:05 -0800 (PST) (envelope-from bland@FreeBSD.org) Received: from FreeBSD.org (bland@localhost [127.0.0.1]) by bbnest.net (8.12.10/8.12.10) with ESMTP id i0QFEZsh000294; Tue, 27 Jan 2004 00:14:57 +0900 (JST) (envelope-from bland@FreeBSD.org) Message-ID: <40152EDB.70406@FreeBSD.org> Date: Tue, 27 Jan 2004 00:14:35 +0900 From: Alexander Nedotsukov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <20040126133927.26c8247b@Magellan.Leidinger.net> In-Reply-To: <20040126133927.26c8247b@Magellan.Leidinger.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: gnome@FreeBSD.org cc: Heiner cc: marius Subject: Re: Problems with ".if HAVE_GNOME" tests because of installation order X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 15:15:11 -0000 Alexander, This is not gnome ports specific problem. Any port wich tries to guess it configuration in way ".if exists() xx_DEPENDS+=" have such flaw. Situation can be resolved sometimes by adding WITHOUT_xx option if they supported by port (unfortunately this is not sysutils/cdrdao case). The better way seems to use info stored in /var/db/pkg rather than do recursive make wailk through ports tree but this I guess need more than my pure speculation on subject :-) All the best, Alexander. Alexander Leidinger wrote: >Hi, > >I haven't digged into this, it may be a portupgrade problem, not a >problem of the ports collection. > >PR 61840 describes a scenario which seems to be a general problem with >conditional gnome dependencies. > >Without having gnome installed install a port (A) which depends upon >gnome only if it is installed. Now install gnome and after that a port >which depends on A, but not on gnome. > >pkgdb -F will now report an error if port A sucks in some more >dependencies in the gnome case, e.g. cdrdao checks for gnomelibs and >adds gtk-- and gnome-- if gnomelibs is installed. If you install cdrdao, >gnomelibs and then k3b, pkgdb -F will report a missing dependency >(gnome--) for k3b (see PR 61840). > >Any ideas/thoughts about this problem? > >Bye, >Alexander. > > >