From owner-freebsd-ports@FreeBSD.ORG Thu Jul 1 03:06:08 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 B4CEC16A4CE for ; Thu, 1 Jul 2004 03:06:08 +0000 (GMT) Received: from lakermmtao03.cox.net (lakermmtao03.cox.net [68.230.240.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4691A43D39 for ; Thu, 1 Jul 2004 03:06:08 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.localnet.net ([68.11.71.51]) by lakermmtao03.cox.net ESMTP <20040701030545.GQAB3786.lakermmtao03.cox.net@dolphin.localnet.net> for ; Wed, 30 Jun 2004 23:05:45 -0400 Received: from dolphin.localnet.net (localhost.localnet.net [127.0.0.1]) by dolphin.localnet.net (8.12.11/8.12.11) with ESMTP id i6135ihn000230 for ; Wed, 30 Jun 2004 22:05:44 -0500 (CDT) (envelope-from conrads@dolphin.localnet.net) Received: (from conrads@localhost) by dolphin.localnet.net (8.12.11/8.12.11/Submit) id i6135id9000229 for freebsd-ports@freebsd.org; Wed, 30 Jun 2004 22:05:44 -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: <200407010027.i610RXjs030999@dolphin.localnet.net> Date: Wed, 30 Jun 2004 22:05:44 -0500 (CDT) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: "Conrad J. Sabatier" To: 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 03:06:08 -0000 On 01-Jul-2004 Conrad J. Sabatier wrote: >> >> 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', >> } > > 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? Ah, OK, I see that in /usr/ports/Mk/bsd.port.mk we have the following: .if defined(USE_XLIB) .if ${XFREE86_VERSION} == 3 # Don't try to build XFree86-3 even if ALWAYS_BUILD_DEPENDS is defined -- # it's just too big.... .if !defined(ALWAYS_BUILD_DEPENDS) LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86 .endif .else LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86-4-libraries .endif # Add explicit X options to avoid problems with false positives in configure .if defined(GNU_CONFIGURE) CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include .endif .endif Looks like we need a new VARIABLE or something to indicate which X we want to work with. Is this issue currently being addressed? Is it likely to be resolved sometime soon? -- Conrad J. Sabatier -- "In Unix veritas"