Bug 85229

Summary: Build options don't appear when rebuilding nvidia-driver
Product: Ports & Packages Reporter: Jason Bacon <bacon>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason Bacon 2005-08-22 19:10:25 UTC
	When building the nvidia-driver port for the first time, it displays
	an options menu including Linux support, FREEBSD_AGP, etc.  The menu
	does not appear on subsequent builds, making it difficult to change
	any installed options.  

	"make clean"

	and

	"rm /usr/ports/distfiles/NVIDIANVIDIA-FreeBSD-x86-1.0-7667.tar.gz"

	didn't help.

Fix: 

I don't know how to fix the problem, but to work around it, one
	can run "make clean", "make extract", and then edit 
	work/NVIDIA-FreeBSD-x86-1.0-7667/src/nv-freebsd.h
	before running "make" or "make install".
	For example, to enable FREEBSD_AGP (which greatly improves performance)
	run "make extract", then before building, edit 
	work/NVIDIA-FreeBSD-x86-1.0-7667/src/nv-freebsd.h, changing
	#undef NV_SUPPORT_OS_AGP to #define NV_SUPPORT_OS_AGP, and then
	run make.
How-To-Repeat: 	Build nvidia-driver port.  kldunload nvidia, make deinstall, make clean
	and run make again.
Comment 1 jhale2000 2005-08-22 19:53:29 UTC
All ports that use OPTIONS save the configuration in /var/db/ports by default.  
If you want to remove the configuration, use "make rmconfig" in the port's 
directory.  You can use "make config" to configure the OPTIONS.  Read the 
ports(7) manpage.
Comment 2 Stefan Walter 2005-08-22 20:05:12 UTC
Jason Bacon in gmane.os.freebsd.devel.ports.bugs:

> 	When building the nvidia-driver port for the first time, it displays
> 	an options menu including Linux support, FREEBSD_AGP, etc.  The menu
> 	does not appear on subsequent builds, making it difficult to change
> 	any installed options.  


"make config" should let you change the options.

Stefan
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2005-08-24 07:49:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-09-04 13:01:48 UTC
State Changed
From-To: open->closed

This is the framework feature. Run "make config" to reconfigure the port.