Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 13:00:38 -0500 (CDT)
From:      Jason Bacon <bacon@smithers.neuro.mcw.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85229: Build options don't appear when rebuilding nvidia-driver
Message-ID:  <200508221800.j7MI0cb1049370@smithers.neuro.mcw.edu>
Resent-Message-ID: <200508221810.j7MIAQgA093936@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85229
>Category:       ports
>Synopsis:       Build options don't appear when rebuilding nvidia-driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 18:10:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Medical College of Wisconsin
>Environment:
FreeBSD clone.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Fri Aug  5 17:09:13 CDT 2005     bacon@clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone  i386
>Description:
	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.
>How-To-Repeat:
	Build nvidia-driver port.  kldunload nvidia, make deinstall, make clean
	and run make again.
>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.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508221800.j7MI0cb1049370>