From owner-freebsd-ports@FreeBSD.ORG Thu Jul 1 18:04:01 2004 Return-Path: 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 7D92416A4CF for ; Thu, 1 Jul 2004 18:04:01 +0000 (GMT) Received: from lakermmtao10.cox.net (lakermmtao10.cox.net [68.230.240.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0344943D39 for ; Thu, 1 Jul 2004 18:04:01 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.localnet.net ([68.11.71.51]) by lakermmtao10.cox.net ESMTP <20040701180127.RNMU25843.lakermmtao10.cox.net@dolphin.localnet.net>; Thu, 1 Jul 2004 14:01:27 -0400 Received: from dolphin.localnet.net (localhost.localnet.net [127.0.0.1]) i61I1QKS014628; Thu, 1 Jul 2004 13:01:26 -0500 (CDT) (envelope-from conrads@localhost.localnet.net) Received: (from conrads@localhost) by dolphin.localnet.net (8.12.11/8.12.11/Submit) id i61I1QEj014627; Thu, 1 Jul 2004 13:01:26 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040701160456.660ed858@Magellan.Leidinger.net> Date: Thu, 01 Jul 2004 13:01:25 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: Alexander Leidinger cc: freebsd-ports@freebsd.org Subject: Re: Simplifying life with X.org and ports dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: conrads@cox.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 18:04:01 -0000 On 01-Jul-2004 Alexander Leidinger wrote: > On Wed, 30 Jun 2004 19:27:33 -0500 (CDT) > "Conrad J. Sabatier" wrote: > >> >Add the following alternate dependencies list, so that the section >> >ends up >> >looking like this: >> > >> > ALT_PKGDEP = { >> > 'x11/XFree86-4-libraries' => 'x11/xorg-libraries', >> > 'x11-fonts/XFree86-4-fontEncodings' => >> > 'x11-fonts/xorg-fonts-encodings', >> > 'x11-fonts/XFree86-4-fontScalable' => >> > 'x11-fonts/xorg-fonts-type1', >> > 'x11/XFree86-4-clients' => 'x11/xorg-clients', >> > } >> > >> >Voila! No more hassles with X dependencies! >> >> Hmmm, how odd. I just ran portupgrade on a port with one of the >> above XFree dependencies, and the alternate dependency didn't >> "take". >> >> Could there be a bug in the current version of portupgrade? > > Did you run "pkgdb -F"? I think it will fix those issues based upon > ALT_PKGDEP automatically. Yes, I've been running "pkgdb -F" after every portupgrade. Unfortunately, it doesn't automatically resolve these alternate dependencies; still have to fix them manually. :-( -- Conrad J. Sabatier -- "In Unix veritas"