From owner-freebsd-ports@FreeBSD.ORG Fri Dec 7 00:13:19 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A743C16A418 for ; Fri, 7 Dec 2007 00:13:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 661B513C459 for ; Fri, 7 Dec 2007 00:13:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:60177 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1J0QqE-0003b4-4V for freebsd-ports@freebsd.org; Fri, 07 Dec 2007 01:13:18 +0100 Received: (qmail 60944 invoked from network); 7 Dec 2007 01:13:15 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 7 Dec 2007 01:13:15 +0100 Received: (qmail 58202 invoked by uid 1001); 7 Dec 2007 01:13:15 +0100 Date: Fri, 7 Dec 2007 01:13:15 +0100 From: Erik Trulsson To: Alex Goncharov Message-ID: <20071207001315.GA58050@owl.midgard.homeip.net> Mail-Followup-To: Alex Goncharov , freebsd-ports@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1J0QqE-0003b4-4V. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1J0QqE-0003b4-4V e3d1c2b0c074fe59f9b8d38e5d08e220 Cc: freebsd-ports@freebsd.org Subject: Re: (Very) bogus package dependencies 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: Fri, 07 Dec 2007 00:13:19 -0000 On Thu, Dec 06, 2007 at 06:22:58PM -0500, Alex Goncharov wrote: > There has been a point recently made on a `freebsd-' list about > unnecessary dependencies of the `xorg-server' package, it being > dependent on `gnome' and `hal', for example. That's a valid point and > I am with those who don't want this dependency to exist -- but at > least this dependency can be somehow justified. > > But I cannot find any justification for this: > > -------------------- > $ pkg_info -R cdrtools* > Information for cdrtools-2.01_6: > > Required by: > hal-0.5.8.20070909 > xf86-input-keyboard-1.2.2_1 > xf86-input-mouse-1.2.3 > xf86-video-i810-1.6.5_3 > xf86-video-radeonhd-1.0.0 > xorg-server-1.4_3,1 > -------------------- > > `xf86-video-radeonhd-1.0.0' requires `cdrtools'?... > > How can this happen? Am I missing something? It looks like an ordinary indirect dependency. The drivers as well as the xorg-server all require 'hal'. 'hal' depends on 'cdrtools'. (It may be that the drivers only depend on xorg-server, which does depend on hal.) As for why 'hal' requires 'cdrtools' I have no idea, but there is probably some reason for it. -- Erik Trulsson ertr1013@student.uu.se