git: bccfced58080 - main - cad/yosys-ghdl-plugin: Fix breakage due to ghdl version bump

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 14:20:21 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bccfced58080365bde868f688bb942ff763da774

commit bccfced58080365bde868f688bb942ff763da774
Author:     Nico Sonack <nsonack@herrhotzenplotz.de>
AuthorDate: 2024-03-11 16:32:56 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-19 14:18:22 +0000

    cad/yosys-ghdl-plugin: Fix breakage due to ghdl version bump
    
    add806fdd4acf01d5306c277ccb6076baaf281ea broke our build due to the
    shared library of libghdl being named differently.
    
    Update the LIB_DEPENDS and bump the PORTREVISION to accomodate for
    version changes.
    
    Signed-off-by:  Nico Sonack <nsonack@herrhotzenplotz.de>
    PR:             277634
    Fixes:          add806fdd4acf01d5306c277ccb6076baaf281ea
---
 cad/yosys-ghdl-plugin/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cad/yosys-ghdl-plugin/Makefile b/cad/yosys-ghdl-plugin/Makefile
index 315bdec37b8e..164ff5e18923 100644
--- a/cad/yosys-ghdl-plugin/Makefile
+++ b/cad/yosys-ghdl-plugin/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	yosys-ghdl-plugin
 PORTVERSION=	g20230930
+PORTREVISION=	1
 CATEGORIES=	cad
 
 MAINTAINER=	nsonack@outlook.com
@@ -12,7 +13,7 @@ BUILD_DEPENDS=	ghdl>0:cad/ghdl \
 		yosys>0:cad/yosys
 RUN_DEPENDS=	yosys>0:cad/yosys
 LIB_DEPENDS=	libffi.so:devel/libffi \
-		libghdl-3_0_0.so:cad/ghdl \
+		libghdl-4_0_0.so:cad/ghdl \
 		libtcmalloc.so:devel/google-perftools
 
 USES=		gmake readline tcl