Re: git: 78cbcc365c09 - main - graphics/graphviz: unbreak build with GHOSTSCRIPT enabled after dd152219f70d

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Mon, 03 Jul 2023 22:33:37 UTC
On Mon, 03 Jul 2023 22:16:14 +0200
dirk.meyer@dinoex.sub.org (Dirk Meyer) wrote:

> Hallo Tomoaki AOKI,
> 
> > BTW, is the line fixed still actually needed?
> > There is "GHOSTSCRIPT_USES=ghostscript" at line 93.
> > Isn't it sufficient?
> 
> no,
> 
> USES=ghostscript implies only RUN_DEPENDS.
> 
> test:
> $ make -V LIB_DEPENDS OPTIONS_SET=GHOSTSCRIPT | tr ' ' '\n' | grep ghost
> libgs.so:print/ghostscript9-agpl-base
> 
> kind regards Dirk
> 
> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
> - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]

Ah, understood. LIB_DEPENDS to Ghostcsript port is unusual, so not
handled by USES (by default) would be reasonable.

But so, maybe additionally having ghostscript:lib, which implies
LIB_DEPENDS in conjunction with RUN_DEPEND would be nice.


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>