Subject: Re: choosing between dependencies
To: None <email@example.com>
From: OBATA Akio <firstname.lastname@example.org>
Date: 08/08/2006 11:05:06
On Tue, 8 Aug 2006 00:16:02 +0200, Ansgar Burchardt wrote:
> I try to create a package for ifhp, a print filter developed for LPRng.
> As the package requires ghostscript I put
> DEPENDS+= ghostscript-gnu-[0-9]*:../../print/ghostscript-gnu
> into the Makefile. But this way it isn't possible to use any of the other
> three ghostscript packages together with my package.
> I thought about adding a option and then adding dependencies depending on
> the setting, but this doesn't look like an elegant solution.
> How should this be handeled best? The pkgsrc documentation doesn't say
> anything about this (at least I didn't find anything).
"Of course I love NetBSD":-)
OBATA Akio / email@example.com