| 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: |
|
||||||
Responsible Changed From-To: freebsd-ports->portmgr Over to maintainer portmgr: Please commit this now or fix this broken dependency in another way. -- FUJISHIMA Satsuki State Changed From-To: open->closed Fixed, thanks. |
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).