Subject: Changing Solaris LOCALBASE from /usr/local to /usr/pkg
To: None <tech-pkg@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 07/08/2001 14:45:12
	I'd like to change the default Solaris LOCALBASE to match that
	of NetBSD and Linux (/usr/pkg).

        In order to avoid hosing any existing Solaris pkgsrc users I
	propose adding a check which causes pkgsrc to error out if the
	following four conditions are met:
		+ Running on Solaris
		+ LOCALBASE is not set in mk.conf or environment
		+ /usr/local/libexec/cgi-bin is present
		+ /usr/pkg/libexec/cgi-bin is not present

	New installations would automatically pick up /usr/pkg, existing
	users who have not set LOCALBASE and who want to keep /usr/local
	would need to add it to their mk.conf

	If there are no objections I'll go ahead with this later this
	week.

-- 
		David/absolute		-- www.netbsd.org: No hype required --