Subject: Re: Avoiding netpm dependencies
To: Geert Hendrickx <ghen@telenet.be>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 11/08/2005 18:39:48
On Tue, Nov 08, 2005 at 12:10:39PM +0100, Geert Hendrickx wrote:
> .if !empty(PKG_OPTIONS:Mtk)
> -DEPENDS+= tk>=8.4:../../x11/tk
> +. include "../../x11/tk/buildlink3.mk"
> PLIST_SUBST+= TK=""
Don't change this part -- tk is not used for linking,
so a plain DEPENDS is quite sufficient. (The package
only needs the wish executable from tk.)
Cheers,
Thomas