Bug 90304

Summary: Port x11/nvidia-driver: dependency misc/compat5x is still missing if built with WITH_LEGACY_GPU_SUPPORT
Product: Ports & Packages Reporter: Björn König <bkoenig>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me CC: danfe
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
nvidia-driver-2005121201.diff none

Description Björn König 2005-12-12 19:50:07 UTC
	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.

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.
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
Comment 1 Tim Bishop freebsd_committer freebsd_triage 2005-12-12 22:30:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer.
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2005-12-14 10:34:11 UTC
State Changed
From-To: open->closed

Committed, thanks!