Bug 51000 - wrong dependency on the linux-quake3a-demo port (patch included)
Summary: wrong dependency on the linux-quake3a-demo port (patch included)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 21:00 UTC by Zahemszky@, Gábor
Modified: 2003-05-20 00:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zahemszky@, Gábor 2003-04-15 21:00:32 UTC
	The games/linux-q3ademo port has a wrong dependency.  Independently
of the users XFree version (version 3 or version 4), it has a runtime-dependency
line in the Makefile, which makes it install the linux_glx port/package.
But this is good only for XFree version 3, the newer XFree 4 version needs the
linux_dri port/package.

Fix: 

use the corrected RUN_DEPENDS lines:

RUN_DEPENDS=    /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base

.if ${XFREE86_VERSION} == 4
RUN_DEPENDS +=    /compat/linux/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.else	# ${XFREE86_VERSION} == 3
RUN_DEPENDS +=	/compat/linux/lib/libGL.so:${PORTSDIR}/graphics/linux_glx
.endif
How-To-Repeat: 	more /usr/ports/games/linux-q3ademo/Makefile
Comment 1 Eric Anholt freebsd_committer freebsd_triage 2003-04-25 02:32:48 UTC
State Changed
From-To: open->closed

Fixed, thanks!
Comment 2 Giorgos Keramidas freebsd_committer freebsd_triage 2003-05-20 00:14:10 UTC
Adding to audit trail...

: Message-Id: <20030502002130.B009D37B401@hub.freebsd.org>
: Date: Thu,  1 May 2003 17:21:30 -0700 (PDT)
: From: Marc van Woerkom <3d@hub.freebsd.org>
:
: Just a short mail to acknowledge that I got that report.
: FYI I did not use that port for about a year and simply need
: to catch up what is a todays good solution.
: Regarding linux_dri - what card do you use / what card is
: supported by that package?
:
: Regards,
: Marc