Date: Thu, 26 Mar 2026 10:32:36 +0000 From: =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 077fa890b8cf - main - cad/ghdl: Update 5.1.1 => 6.0.0 Message-ID: <69c50b44.36600.282da8d1@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=077fa890b8cf71e63788b422d4f355575c314896 commit 077fa890b8cf71e63788b422d4f355575c314896 Author: Älven <alven@FreeBSD.org> AuthorDate: 2026-03-25 10:43:40 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2026-03-26 10:31:48 +0000 cad/ghdl: Update 5.1.1 => 6.0.0 * Add WWW for main site * Fix SYNTH logic to optionally disable it as by default synth is enabled https://github.com/ghdl/ghdl/blob/e589c698c351369ac5bcfe7abe1f1152ac5d4727/configure#L52 * Simplify stripping logic in post-install phase Approved by: yuri@ (maintainer, Mentor) Approved by: db@, yuri@ (Mentors, implicit) Differential Revision: https://reviews.freebsd.org/D56078 --- cad/ghdl/Makefile | 21 +++------- cad/ghdl/distinfo | 6 +-- cad/ghdl/files/patch-Makefile.in | 4 +- cad/ghdl/files/patch-configure | 4 +- cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c | 6 +-- cad/ghdl/pkg-plist | 49 +++++++++++++++++++++-- 6 files changed, 62 insertions(+), 28 deletions(-) diff --git a/cad/ghdl/Makefile b/cad/ghdl/Makefile index 21434b11b2e7..0bc4384efd0d 100644 --- a/cad/ghdl/Makefile +++ b/cad/ghdl/Makefile @@ -1,11 +1,12 @@ PORTNAME= ghdl DISTVERSIONPREFIX= v -DISTVERSION= 5.1.1 +DISTVERSION= 6.0.0 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= GNU VHDL simulator -WWW= https://github.com/ghdl/ghdl +WWW= http://ghdl.free.fr/ \ + https://github.com/ghdl/ghdl/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.md @@ -39,23 +40,13 @@ SYNTH_DESC= Enable Synthesis Features in ghdl LLVM_USES= llvm:lib ncurses LLVM_CONFIGURE_ON= --with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVM_VERSION} -SYNTH_CONFIGURE_ON= --enable-synth +SYNTH_CONFIGURE_OFF= --disable-synth post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libghdl-${DISTVERSION:S/./_/g}.so + cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/ghdl bin/ghwdump lib/*.so post-install-LLVM-on: - @${STRIP_CMD} \ - ${STAGEDIR}${PREFIX}/bin/ghdl \ - ${STAGEDIR}${PREFIX}/bin/ghwdump \ - ${STAGEDIR}${PREFIX}/bin/ghdl1-llvm \ - ${STAGEDIR}${PREFIX}/lib/libghdlvpi.so \ - ${STAGEDIR}${PREFIX}/lib/libghw.so - -post-install-MCODE-on: - @${STRIP_CMD} \ - ${STAGEDIR}${PREFIX}/bin/ghdl \ - ${STAGEDIR}${PREFIX}/lib/libghdlvpi.so + cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/ghdl1-llvm do-test: @cd ${WRKSRC}/testsuite && \ diff --git a/cad/ghdl/distinfo b/cad/ghdl/distinfo index 42a05d02f23b..9431e2f27968 100644 --- a/cad/ghdl/distinfo +++ b/cad/ghdl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1758491532 -SHA256 (ghdl-ghdl-v5.1.1_GH0.tar.gz) = 00cd58ec8f25e2532465aabc8705f43071f20dc1d13e03fd9dc235523186fca9 -SIZE (ghdl-ghdl-v5.1.1_GH0.tar.gz) = 7894213 +TIMESTAMP = 1774420714 +SHA256 (ghdl-ghdl-v6.0.0_GH0.tar.gz) = 2d84fbd0b238a26928e89a0256274072c6b40af1969a4f4c7be57ec3515bc622 +SIZE (ghdl-ghdl-v6.0.0_GH0.tar.gz) = 8056568 diff --git a/cad/ghdl/files/patch-Makefile.in b/cad/ghdl/files/patch-Makefile.in index 846a95e7c625..d277275a6e1a 100644 --- a/cad/ghdl/files/patch-Makefile.in +++ b/cad/ghdl/files/patch-Makefile.in @@ -1,8 +1,8 @@ Allow setting rpath to libgnat-12.so, because it isn't added to ldconfig directories. ---- Makefile.in.orig 2025-03-01 16:49:42 UTC +--- Makefile.in.orig 2026-03-07 17:47:40 UTC +++ Makefile.in -@@ -485,7 +485,7 @@ lib/$(libghdl_name): $(GRT_SRC_DEPS) $(LIBGHDL_GRT_OBJ +@@ -490,7 +490,7 @@ lib/$(libghdl_name): $(GRT_SRC_DEPS) $(LIBGHDL_GRT_OBJ lib/$(libghdl_name): $(GRT_SRC_DEPS) $(LIBGHDL_GRT_OBJS) version.ads force # Use -g for gnatlink so that the binder file is not removed. We need # it for libghdl.a diff --git a/cad/ghdl/files/patch-configure b/cad/ghdl/files/patch-configure index 308d29b4b0d3..0140095d8e04 100644 --- a/cad/ghdl/files/patch-configure +++ b/cad/ghdl/files/patch-configure @@ -1,4 +1,4 @@ ---- configure.orig 2025-03-01 16:49:42 UTC +--- configure.orig 2026-03-07 17:47:40 UTC +++ configure @@ -140,8 +140,6 @@ for opt do --enable-coverage) build_mode="coverage";; @@ -9,7 +9,7 @@ ;; esac done -@@ -437,6 +435,7 @@ if test $backend = mcode; then +@@ -440,6 +438,7 @@ if test $backend = mcode; then *darwin*) ortho_flags="Flags_Macosx${mcode64}" ;; *mingw32*) ortho_flags="Flags_Windows${mcode64}" ;; *linux*) ortho_flags="Flags_Linux${mcode64}" ;; diff --git a/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c b/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c index b32ef2b82686..fd16b552d5a3 100644 --- a/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c +++ b/cad/ghdl/files/patch-src_ortho_mcode_memsegs__c.c @@ -1,4 +1,4 @@ ---- src/ortho/mcode/memsegs_c.c.orig 2022-02-28 18:46:53 UTC +--- src/ortho/mcode/memsegs_c.c.orig 2026-03-07 17:47:40 UTC +++ src/ortho/mcode/memsegs_c.c @@ -26,7 +26,7 @@ set rights. @@ -7,5 +7,5 @@ -#if defined(__APPLE__) || defined(__OpenBSD__) +#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) #define MAP_ANONYMOUS MAP_ANON - #else - #define HAVE_MREMAP + #elif defined(__NetBSD__) + /* none */ diff --git a/cad/ghdl/pkg-plist b/cad/ghdl/pkg-plist index 62fd7629460d..6884d88355b9 100644 --- a/cad/ghdl/pkg-plist +++ b/cad/ghdl/pkg-plist @@ -49,6 +49,39 @@ lib/ghdl/ieee/v08/ieee-obj08.cf %%LLVM%%lib/ghdl/ieee/v08/timing_p.o %%LLVM%%lib/ghdl/ieee/v08/upf-body.o %%LLVM%%lib/ghdl/ieee/v08/upf.o +%%LLVM%%lib/ghdl/ieee/v19/fixed_float_types.o +%%LLVM%%lib/ghdl/ieee/v19/fixed_generic_pkg-body.o +%%LLVM%%lib/ghdl/ieee/v19/fixed_generic_pkg.o +%%LLVM%%lib/ghdl/ieee/v19/fixed_pkg.o +%%LLVM%%lib/ghdl/ieee/v19/float_generic_pkg-body.o +%%LLVM%%lib/ghdl/ieee/v19/float_generic_pkg.o +%%LLVM%%lib/ghdl/ieee/v19/float_pkg.o +lib/ghdl/ieee/v19/ieee-obj19.cf +%%LLVM%%lib/ghdl/ieee/v19/ieee_bit_context.o +%%LLVM%%lib/ghdl/ieee/v19/ieee_std_context.o +%%LLVM%%lib/ghdl/ieee/v19/math_complex-body.o +%%LLVM%%lib/ghdl/ieee/v19/math_complex.o +%%LLVM%%lib/ghdl/ieee/v19/math_real-body.o +%%LLVM%%lib/ghdl/ieee/v19/math_real.o +%%LLVM%%lib/ghdl/ieee/v19/memory_b.o +%%LLVM%%lib/ghdl/ieee/v19/memory_p.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_bit-body.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_bit.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_bit_unsigned-body.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_bit_unsigned.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_std-body.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_std.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_std_unsigned-body.o +%%LLVM%%lib/ghdl/ieee/v19/numeric_std_unsigned.o +%%LLVM%%lib/ghdl/ieee/v19/prmtvs_b.o +%%LLVM%%lib/ghdl/ieee/v19/prmtvs_p.o +%%LLVM%%lib/ghdl/ieee/v19/std_logic_1164-body.o +%%LLVM%%lib/ghdl/ieee/v19/std_logic_1164.o +%%LLVM%%lib/ghdl/ieee/v19/std_logic_textio.o +%%LLVM%%lib/ghdl/ieee/v19/timing_b.o +%%LLVM%%lib/ghdl/ieee/v19/timing_p.o +%%LLVM%%lib/ghdl/ieee/v19/upf-body.o +%%LLVM%%lib/ghdl/ieee/v19/upf.o lib/ghdl/ieee/v87/ieee-obj87.cf %%LLVM%%lib/ghdl/ieee/v87/numeric_bit-body.o %%LLVM%%lib/ghdl/ieee/v87/numeric_bit.o @@ -135,11 +168,15 @@ lib/ghdl/src/ieee2008/numeric_std_unsigned.vhdl lib/ghdl/src/ieee2008/std_logic_1164-body.vhdl lib/ghdl/src/ieee2008/std_logic_1164.vhdl lib/ghdl/src/ieee2008/std_logic_textio.vhdl -lib/ghdl/src/std/env-body.vhdl -lib/ghdl/src/std/env.vhdl +lib/ghdl/src/std/v08/env-body.vhdl +lib/ghdl/src/std/v08/env.vhdl lib/ghdl/src/std/v08/standard.vhdl lib/ghdl/src/std/v08/textio-body.vhdl lib/ghdl/src/std/v08/textio.vhdl +lib/ghdl/src/std/v19/env-body.vhdl +lib/ghdl/src/std/v19/env.vhdl +lib/ghdl/src/std/v19/textio-body.vhdl +lib/ghdl/src/std/v19/textio.vhdl lib/ghdl/src/std/v87/standard.vhdl lib/ghdl/src/std/v87/textio-body.vhdl lib/ghdl/src/std/v87/textio.vhdl @@ -172,6 +209,12 @@ lib/ghdl/std/v08/std-obj08.cf %%LLVM%%lib/ghdl/std/v08/std_standard.o %%LLVM%%lib/ghdl/std/v08/textio-body.o %%LLVM%%lib/ghdl/std/v08/textio.o +%%LLVM%%lib/ghdl/std/v19/env-body.o +%%LLVM%%lib/ghdl/std/v19/env.o +lib/ghdl/std/v19/std-obj19.cf +%%LLVM%%lib/ghdl/std/v19/std_standard.o +%%LLVM%%lib/ghdl/std/v19/textio-body.o +%%LLVM%%lib/ghdl/std/v19/textio.o lib/ghdl/std/v87/std-obj87.cf %%LLVM%%lib/ghdl/std/v87/std_standard.o %%LLVM%%lib/ghdl/std/v87/textio-body.o @@ -196,7 +239,7 @@ lib/ghdl/vendors/config.sh lib/ghdl/vendors/filter.analyze.sh lib/ghdl/vendors/shared.psm1 lib/ghdl/vendors/shared.sh -lib/libghdl-5_1_1.so +lib/libghdl-6_0_0.so lib/libghdl.a lib/libghdl.link lib/libghdlvpi.sohome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c50b44.36600.282da8d1>
