Date: Mon, 12 Dec 2005 20:38:13 +0100 From: "Björn König" <bkoenig@cs.tu-berlin.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: danfe@FreeBSD.org Subject: ports/90304: Port x11/nvidia: dependency misc/compat5x is still missing if built with WITH_LEGACY_GPU_SUPPORT Message-ID: <20051212193813.1E136508B5@eurystheus.local> Resent-Message-ID: <200512121950.jBCJo8bp006514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051212193813.1E136508B5>