ports/90304: Port x11/nvidia: dependency misc/compat5x is still missing if built with WITH_LEGACY_GPU_SUPPORT
Björn König
bkoenig at cs.tu-berlin.de
Mon Dec 12 19:50:53 UTC 2005
>Number: 90304
>Category: ports
>Synopsis: Port x11/nvidia: dependency misc/compat5x is still missing if built with WITH_LEGACY_GPU_SUPPORT
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 12 19:50:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Björn König
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
>Description:
If you install the nvidia-driver with WITH_LEGACY_GPU_SUPPORT
then the necessary library libm.so.3 (misc/compat5x) won't be
installed which is needed by libGL.so.
There was an update of Makefile (rev. 1.37) which fixed this
problem, but it doesn't respect the option WITH_LEGACY_GPU_SUPPORT.
>How-To-Repeat:
Use FreeBSD 6.0-RELEASE or later.
Make sure that 'compat5x' is not installed.
# cd /usr/ports/x11/nvidia-driver
# make -DWITH_LEGACY_GPU_SUPPORT install clean
>Fix:
The patch below causes that the check for $OSVERSION >= 600033
will always happen if $OSVERSION < 503000 is false regardless
whether WITH_LEGACY_GPU_SUPPORT is set or not.
--- nvidia-driver-2005121201.diff begins here ---
--- ports/x11/nvidia-driver/Makefile.orig Mon Dec 12 20:14:18 2005
+++ ports/x11/nvidia-driver/Makefile Mon Dec 12 20:15:58 2005
@@ -85,9 +85,9 @@
NVVERSION= 7676
PORTREVISION= 1
EXTRA_PATCHES+= ${FILESDIR}/7667-*
+.endif
.if ${OSVERSION} >= 600033
LIB_DEPENDS+= m.3:${PORTSDIR}/misc/compat5x
-.endif
.endif
PLIST_SUB+= DIFFS="@comment " DRVSO=""
.endif
--- nvidia-driver-2005121201.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list