From owner-freebsd-ports Wed Aug 8 7:50:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C19137B421 for ; Wed, 8 Aug 2001 07:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f78Eo1498761; Wed, 8 Aug 2001 07:50:01 -0700 (PDT) (envelope-from gnats) Received: from entropy.databits.net (electron.databits.net [207.29.204.16]) by hub.freebsd.org (Postfix) with ESMTP id 146F637B40C for ; Wed, 8 Aug 2001 07:45:18 -0700 (PDT) (envelope-from petef@entropy.databits.net) Received: (from petef@localhost) by entropy.databits.net (8.11.1/8.11.1) id f78Ej2p22173; Wed, 8 Aug 2001 10:45:02 -0400 (EDT) (envelope-from petef) Message-Id: <200108081445.f78Ej2p22173@entropy.databits.net> Date: Wed, 8 Aug 2001 10:45:02 -0400 (EDT) From: Pete Fritchman Reply-To: Pete Fritchman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/29546: Fix USE_MESA in bsd.port.mk Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29546 >Category: ports >Synopsis: Fix USE_MESA in bsd.port.mk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 08 07:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pete Fritchman >Release: FreeBSD 5.0-CURRENT i386 >Organization: Databits Network Services, Inc. >Environment: System: FreeBSD entropy.databits.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Aug 7 22:57:00 EDT 2001 root@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386 >Description: It seems to me that USE_MESA implies that the ${PORTSDIR}/graphics/Mesa3 port needs to be installed. The LIB_DEPENDS when XFREE86_VERSION=4 don't accomplish this: excerpt from bsd.port.mk: .if ${XFREE86_VERSION} == 3 ... .else ... .if defined(USE_MESA) LIB_DEPENDS+= GLU.1:${PORTSDIR}/graphics/Mesa3 .endif ... But, this will dependency will never cause graphics/Mesa3 to be installed because the GLU.1 shared library is included with XFree86 4.1: entropy [26] % pkg_info -W /usr/X11R6/lib/libGLU.so.1 /usr/X11R6/lib/libGLU.so.1 was installed by package XFree86-4.1.0_4 entropy [27] % It looks like we could depend on libglut instead for XFree86 4. >How-To-Repeat: See PR 29536. I'm not sure if the submitter has XFree86 4 or not, but I do and this prompted a problem for me (and it looks like it's causing his problem as well). >Fix: Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.376 diff -u -r1.376 bsd.port.mk --- bsd.port.mk 2001/08/03 11:35:35 1.376 +++ bsd.port.mk 2001/08/08 14:15:55 @@ -843,7 +843,7 @@ USE_XLIB= yes .endif .if defined(USE_MESA) -LIB_DEPENDS+= GLU.1:${PORTSDIR}/graphics/Mesa3 +LIB_DEPENDS+= glut.3:${PORTSDIR}/graphics/Mesa3 .endif XAWVER= 7 PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message