Subject: Changing Solaris LOCALBASE from /usr/local to /usr/pkg
To: None <>
From: David Brownlee <>
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

		David/absolute		-- No hype required --