Bug 26828

Summary: Feature request for x11-related ports variable
Product: Ports & Packages Reporter: fracture <fracture>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me CC: fracture
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description fracture 2001-04-24 19:08:47 UTC
I'm sorry, I just discovered the proper way to do this.  I didn't realize that
all places in /usr/ports/Mk/bsd.port.mk that set PREFIX do so with the ?=
operator for this express purpose.  I've set PREFIX in my /etc/make.conf and
removed the X11BASE, and all seems fine.

-- 
Jordan DeLong
fracture@allusion.net
Comment 1 fracture 2001-04-25 02:00:01 UTC
	I desire all of my programs that are installed by ports to drop into /usr/local instead of the
	more-often-used, but in my opinion somewhat unfortunate (can be a pain when upgrading) /usr/X11R6
	with the X distribution.  I set the X11BASE variable to /usr/local, which is obviously incorrect,
	but works on the vast majority of ports; since most of them use autoconf.  However some of them
	have tried to use X11BASE to find X11 headers/libs (only one I've seen so far is www/netscape-remote).

Fix: 

I'd suggest that there be an additional variable, perhaps X11PREFIX, that I could set to force X11
	apps to go to wherever I want them, regardless of the setting of X11BASE which seems to be intended
	to point to the x installation.
How-To-Repeat: 	check out /usr/ports/www/netscape-remote, you'll have to edit the makefile manually to get it to
	compile if you have X11BASE set to somewhere other than your X install.  (I know this is what _should_
	happen; hence this is not a bug, just a change-request).
Comment 2 Ying-Chieh Liao freebsd_committer freebsd_triage 2001-05-24 14:23:05 UTC
State Changed
From-To: open->closed

it seems that originator fixed the problem himself, so close it