Subject: assigning PREFIX
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 12/10/1999 03:26:44
I wonder if there's a good reason to assign PREFIX with "=" instead of
"?=" in bsd.pkg.mk? 

I'd like to override it if some variable is set:

	.if !defined(JDK_HOME)
	JDK_HOME=	${LOCALBASE}/JDK
	.endif
	PREFIX=		${JDK_HOME}

Redirecting LOCALBASE isn't much of an option here, as I don't want to end
up with a "JDK" subdir in JDK_HOME. (JDK needs to be installed in the
original directory layout for some reason, and I'd like to move this out
of /usr/pkg as an option, putting in something like /usr/jdk).


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra