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

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Mon, 03 Jul 2023 08:53:23 UTC
On Mon, Jul 03, 2023 at 08:33:00AM +0000, Dima Panov wrote:
> The branch main has been updated by fluffy:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=78cbcc365c098b3e1bd17683ff24ff7202f14b62
> 
> commit 78cbcc365c098b3e1bd17683ff24ff7202f14b62
> Author:     Dima Panov <fluffy@FreeBSD.org>
> AuthorDate: 2023-07-03 08:30:28 +0000
> Commit:     Dima Panov <fluffy@FreeBSD.org>
> CommitDate: 2023-07-03 08:30:28 +0000
> 
>     graphics/graphviz: unbreak build with GHOSTSCRIPT enabled after dd152219f70d
>     
>     Global variable _GS_PORT now have cathegory defined

*Private* variable, it begins with an underscore, so, it is private, not
global. (make(1) has no local variables, except with a hackish .for
loop, so, it, technically, is global, but it is definitively marked as
private, because it starts witn an underscore.)

>     Error: graphics/graphviz depends on nonexistent origin 'print/print/ghostscript9-agpl-base';
>     
>     Reported by:    poudriere fallout
>     Approved by:    portmgr blanket
> ---
>  graphics/graphviz/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
> index bf9a8bf286f5..6f7fe8668fb4 100644
> --- a/graphics/graphviz/Makefile
> +++ b/graphics/graphviz/Makefile
> @@ -112,7 +112,7 @@ GUILE_LIB_DEPENDS=	libguile-2.2.so:lang/guile2 \
>  			libgc-threaded.so:devel/boehm-gc-threaded
>  PHP_LIB_DEPENDS=	libpcre.so:devel/pcre \
>  			libargon2.so:security/libargon2
> -GHOSTSCRIPT_LIB_DEPENDS=	libgs.so:print/${_GS_PORT}
> +GHOSTSCRIPT_LIB_DEPENDS=	libgs.so:${_GS_PORT}
>  
>  XPM_CONFIGURE_WITH=		x
>  XPM_CONFIGURE_ENV=		ac_cv_header_sys_inotify_h=no
> 

-- 
Mathieu Arnold