Subject: Re: CVS commit: pkgsrc/mk
To: Jeremy C. Reed <reed@reedmedia.net>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-changes
Date: 10/31/2005 21:12:29
Jeremy C. Reed wrote:
> On Mon, 31 Oct 2005, Roland Illig wrote:
> 
>> Log Message:
>> Added two new variables, GNU_CONFIGURE_INFODIR and GNU_CONFIGURE_MANDIR.
>> Up to now, a package that wanted to use a different location for
>> --mandir had to first define CONFIGURE_HAS_MANDIR=no and then
>> CONFIGURE_ARGS+=--mandir=${...}, which looks weird. Now it only has to
>> set GNU_CONFIGURE_MANDIR.
> 
> How many packages need this? (I didn't count.)

devel/cmake
graphics/gocr

That makes two packages. I haven't looked yet through a whole bulk build 
(not an incremental one) to detect all those broken packages, but I 
expect about five more that would benefit from this change.

> It seems like if a GNU_CONFIGURE (uses autoconf) package use --mandir in 
> its own way, then it is broken. Maybe we should just fix the few 
> packages to correctly use --mandir.

If you want to dive into the various hand-written Makefile.in files and 
fix them, you may do that. I prefer just setting one variable that has 
the same effect.

Roland