Subject: Re: GNU configure and PLIST interaction
To: Stoned Elipot <Stoned.Elipot@script.jussieu.fr>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 07/10/2001 08:04:58
On Tue, 10 Jul 2001, Stoned Elipot wrote:

> I'm wondering how you would deal in PLIST with a file conditionnally installed
> according to what a GNU configure script finds. Specifically I'm
> annoyed by a header file that can end up being installed if configure does not
> find it.
> Should I duplicate the logic of finding this header in the pkg Makefile and
> then tweak the PLIST with PLIST_SUBST or do you see a easy way to use the
> result of configure's finding ?

No. If it's a pkgsrc supplied header, you should guarantee that the
header is already installed at configure time with a DEPENDS. You want
binary packages to be portable, right?


Frederick