Bug 29546

Summary: Fix USE_MESA in bsd.port.mk
Product: Ports & Packages Reporter: Pete Fritchman <petef>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Pete Fritchman 2001-08-08 15:50:01 UTC
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).
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2001-08-09 17:21:09 UTC
Responsible Changed
From-To: freebsd-ports->portmgr

Over to maintainer
Comment 2 FUJISHIMA Satsuki freebsd_committer freebsd_triage 2001-08-31 00:48:20 UTC
portmgr:
Please commit this now or fix this broken dependency in another way.

-- 
FUJISHIMA Satsuki
Comment 3 Will Andrews freebsd_committer freebsd_triage 2001-08-31 03:14:32 UTC
State Changed
From-To: open->closed

Fixed, thanks.