git: cce654de2396 - main - cad/ghdl: update 4.1.0 → 5.0.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 02 Mar 2025 20:58:43 UTC
The branch main has been updated by yuri:

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

commit cce654de239659653d018030f405cafdb0ca17c7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-02 17:06:40 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-02 20:58:36 +0000

    cad/ghdl: update 4.1.0 → 5.0.1
    
    Reported by:    portscout
---
 cad/ghdl/Makefile              |  2 +-
 cad/ghdl/distinfo              |  6 +++---
 cad/ghdl/files/patch-configure | 12 ++++++------
 cad/ghdl/pkg-plist             | 10 +++-------
 4 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/cad/ghdl/Makefile b/cad/ghdl/Makefile
index 0ed4eb7784fd..abb1defb2bc5 100644
--- a/cad/ghdl/Makefile
+++ b/cad/ghdl/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ghdl
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.1.0
+DISTVERSION=	5.0.1
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/cad/ghdl/distinfo b/cad/ghdl/distinfo
index a07abc1b7294..ca9babf98efb 100644
--- a/cad/ghdl/distinfo
+++ b/cad/ghdl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716623048
-SHA256 (ghdl-ghdl-v4.1.0_GH0.tar.gz) = 0aab531b45a6613b0918f3ac6ec717b8acfad051d1abb1c39eb7490590c7a324
-SIZE (ghdl-ghdl-v4.1.0_GH0.tar.gz) = 7704716
+TIMESTAMP = 1740902757
+SHA256 (ghdl-ghdl-v5.0.1_GH0.tar.gz) = a4cef27312a158c28498eeb62a470007354755b267adb62005a04b66143a1f92
+SIZE (ghdl-ghdl-v5.0.1_GH0.tar.gz) = 7851730
diff --git a/cad/ghdl/files/patch-configure b/cad/ghdl/files/patch-configure
index ab17ebeca497..308d29b4b0d3 100644
--- a/cad/ghdl/files/patch-configure
+++ b/cad/ghdl/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2023-02-22 20:22:10 UTC
+--- configure.orig	2025-03-01 16:49:42 UTC
 +++ configure
-@@ -136,8 +136,6 @@ for opt do
+@@ -140,8 +140,6 @@ for opt do
      --enable-coverage)      build_mode="coverage";;
      -h|-help|--help)        show_help=yes;;
      *)
@@ -9,11 +9,11 @@
        ;;
    esac
  done
-@@ -429,6 +427,7 @@ if test $backend = mcode; then
+@@ -437,6 +435,7 @@ if test $backend = mcode; then
+     *darwin*)  ortho_flags="Flags_Macosx${mcode64}" ;;
      *mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
      *linux*)   ortho_flags="Flags_Linux${mcode64}" ;;
++    *freebsd*)   ortho_flags="Flags_Linux${mcode64}" ;;
      *openbsd*) ortho_flags="Flags_Macosx${mcode64}" ;;
-+    *freebsd*) ortho_flags="Flags_Linux${mcode64}" ;;
+     *netbsd*)  ortho_flags="Flags_Macosx${mcode64}" ;;
      *) echo "Unsupported $build build for mcode"; exit 1;;
-   esac
-   echo "Generate ortho_code-x86-flags.ads"
diff --git a/cad/ghdl/pkg-plist b/cad/ghdl/pkg-plist
index 8e71496ee3d6..bc4337473f6a 100644
--- a/cad/ghdl/pkg-plist
+++ b/cad/ghdl/pkg-plist
@@ -7,9 +7,6 @@ include/ghdl/vpi_user.h
 %%SYNTH%%include/ghdl/synth.h
 %%SYNTH%%include/ghdl/synth_gates.h
 lib/ghdl/ansi_color.sh
-lib/libghdl-4_1_0.so
-lib/libghdl.a
-lib/libghdl.link
 %%LLVM%%lib/ghdl/grt-exec.lst
 %%LLVM%%lib/ghdl/grt-shared.lst
 %%LLVM%%lib/ghdl/grt.lst
@@ -190,12 +187,8 @@ lib/ghdl/vendors/compile-intel.ps1
 lib/ghdl/vendors/compile-intel.sh
 lib/ghdl/vendors/compile-lattice.ps1
 lib/ghdl/vendors/compile-lattice.sh
-lib/ghdl/vendors/compile-osvvm.ps1
-lib/ghdl/vendors/compile-osvvm.sh
 lib/ghdl/vendors/compile-uvvm.ps1
 lib/ghdl/vendors/compile-uvvm.sh
-lib/ghdl/vendors/compile-xilinx-ise.ps1
-lib/ghdl/vendors/compile-xilinx-ise.sh
 lib/ghdl/vendors/compile-xilinx-vivado.ps1
 lib/ghdl/vendors/compile-xilinx-vivado.sh
 lib/ghdl/vendors/config.psm1
@@ -203,5 +196,8 @@ lib/ghdl/vendors/config.sh
 lib/ghdl/vendors/filter.analyze.sh
 lib/ghdl/vendors/shared.psm1
 lib/ghdl/vendors/shared.sh
+lib/libghdl-5_0_1.so
+lib/libghdl.a
+lib/libghdl.link
 lib/libghdlvpi.so
 lib/libghw.so