From owner-freebsd-gnome@FreeBSD.ORG Fri Jan 14 19:08:11 2005 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 672B116A4CE; Fri, 14 Jan 2005 19:08:11 +0000 (GMT) Received: from d.nordberg.se (c074461a.s-bi.bostream.se [217.215.27.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B5B843D58; Fri, 14 Jan 2005 19:08:11 +0000 (GMT) (envelope-from linus@nordberg.se) Received: from bam.nordberg.se (bam-w.nordberg.se [10.3.0.15]) by d.nordberg.se (Postfix) with ESMTP id F0786570D8; Fri, 14 Jan 2005 20:08:09 +0100 (CET) Received: from bam.nordberg.se (localhost [127.0.0.1]) by bam.nordberg.se (Postfix) with ESMTP id AF0C1445; Fri, 14 Jan 2005 20:06:51 +0100 (CET) To: Adam Weinberger References: <41E7ECDB.9090704@FreeBSD.org> From: Linus Nordberg Date: Fri, 14 Jan 2005 20:06:51 +0100 In-Reply-To: <41E7ECDB.9090704@FreeBSD.org> (Adam Weinberger's message of "Fri, 14 Jan 2005 11:01:31 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: gnome@freebsd.org Subject: Re: textproc/libxslt depending on libxml >= 2.6.15 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: Fri, 14 Jan 2005 19:08:11 -0000 Adam Weinberger wrote Fri, 14 Jan 2005 11:01:31 -0500: | > I was under the impression that the ports system handles these kind | > of | > dependencies through LIB_DEPENDS in the Makefiles. How is portupgrade | > supposed to solve this in the case where you don't have libxslt | > installed to begin with? | | Because libxslt can't install until libxml2 is upgraded. Running | 'portupgrade -a' will ensure that all your ports are up-to-date. At | the very least, 'portupgrade libxml2' should fix your libxslt build | problem. My build problem is fixed, thanks. But I'd still like to understand how portupgrade can fix anything if the dependencies given in the Makefiles isn't correct. Does portupgrade have any other sources of information than /var/db/pkg/pkdgb.db, built from the information in the directories under /var/db/pkg, which in turn comes from make install under /usr/ports? In the specific case, how would make in textproc/libxslt (Makefile 1.69) know that libxml2 should be installed before building? | The new version of portupgrade fetches INDEX, which takes 5 seconds, | instead of rebuilding it, which takes around 8 years. :-) Good news. Thanks.