Subject: Re: HEADS UP: Package removal candidates
To: Jim Wise <jwise@draga.com>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 12/06/2005 18:47:31
On Tue, Dec 06, 2005 at 12:40:40PM -0500, Jim Wise wrote:
> On Tue, 6 Dec 2005, Dieter Baron wrote:
> 
> >  This is not about laying blame, it is about fixing breakage.  Do you
> >have a technical issue with adding
> >	JAVA_HOME?=	${PKG_JAVA_HOME}
> >	MAKE_ENV+=	JAVA_HOME=${JAVA_HOME}
> >to databases/jdbc-postgresql*/Makefile?
> 
> Yes.  This variable, like CC, CFLAGS, and other variables, has been part 
> of the contract which pkgsrc provides to java packages for _years_.  It 
> is also part of the normal contract provided by a java development 
> environment.
> 
> Thus, such a setting belongs in pkgsrc/mk, not in each and every package 
> which depends on it (and there are lots -- three of them showed up in 
> Wiz's list alone, and as you note, other packages have already worked 
> around this broken-ness).

  I didn't write the java pkgsrc infrastructure, nor am I knowledgable
about Java, so I cannot comment on that.

  How about this: as an interim fix (so these packages work on the
upcoming 2005Q4), commit the change above, and take up this issue with
the authors of java-vm.mk (with CC: to tech-pkg)?

						yours,
						dillo