ports/51000: wrong dependency on the linux-quake3a-demo port (patch included)

Zahemszky Gábor Gabor at zahemszky.hu
Tue Apr 15 20:00:34 UTC 2003

>Number:         51000
>Category:       ports
>Synopsis:       wrong dependency on the linux-quake3a-demo port (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 13:00:32 PDT 2003
>Originator:     Zahemszky Gábor
>Release:        FreeBSD 4.8-STABLE i386
System: FreeBSD Picasso.Zahemszky.HU 4.8-STABLE FreeBSD 4.8-STABLE #1: Fri Apr 4 22:15:49 CEST 2003 root at Picasso.Zahemszky.HU:/usr/obj/usr/src/sys/PICASSO i386

	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.

	more /usr/ports/games/linux-q3ademo/Makefile

	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


More information about the freebsd-ports-bugs mailing list