aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-25 14:09:00 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-25 14:09:17 +0000
commit09a53ed5e6281cd4e7f98665580494232baa97bf (patch)
tree319bc81ad700efa4dddf04efa2dbfaa2b52b029f
parent44face09c0e57816d577d5250e15061cb2064a09 (diff)
downloadports-09a53ed5e6281cd4e7f98665580494232baa97bf.tar.gz
ports-09a53ed5e6281cd4e7f98665580494232baa97bf.zip
cad/ghdl: update 4.0.0 → 4.1.0
Reported by: portscout
-rw-r--r--cad/ghdl/Makefile13
-rw-r--r--cad/ghdl/distinfo6
-rw-r--r--cad/ghdl/pkg-plist2
3 files changed, 8 insertions, 13 deletions
diff --git a/cad/ghdl/Makefile b/cad/ghdl/Makefile
index da98a6dc1271..0ed4eb7784fd 100644
--- a/cad/ghdl/Makefile
+++ b/cad/ghdl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ghdl
DISTVERSIONPREFIX= v
-DISTVERSION= 4.0.0
+DISTVERSION= 4.1.0
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
@@ -23,8 +23,6 @@ USE_GITHUB= yes
GNU_CONFIGURE= yes
-LLVMVER= 15 # last supported version, see https://github.com/ghdl/ghdl/blob/master/configure#L317
-
OPTIONS_DEFINE= SYNTH
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= MCODE LLVM
@@ -34,17 +32,14 @@ OPTIONS_SUB= yes
MCODE_DESC= Use the MCODE backend
# MCODE is enabled by default and doesn't require any configuration options
-LLVM_DESC= Code generator is LLVM
-LLVM_USES= ncurses
-LLVM_CONFIGURE_ON= --with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVMVER}
-LLVM_BUILD_DEPENDS= llvm-config${LLVMVER}:devel/llvm${LLVMVER}
-LLVM_RUN_DEPENDS= llc${LLVMVER}:devel/llvm${LLVMVER}
+LLVM_USES= llvm:15,lib ncurses
+LLVM_CONFIGURE_ON= --with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVM_VERSION}
SYNTH_DESC= Enable Synthesis Features in ghdl
SYNTH_CONFIGURE_ON= --enable-synth
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libghdl-4_0_0.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libghdl-${DISTVERSION:S/./_/g}.so
post-install-MCODE-on:
@${STRIP_CMD} \
diff --git a/cad/ghdl/distinfo b/cad/ghdl/distinfo
index c471a49afd80..a07abc1b7294 100644
--- a/cad/ghdl/distinfo
+++ b/cad/ghdl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709785110
-SHA256 (ghdl-ghdl-v4.0.0_GH0.tar.gz) = 97c88b36b73e7b5086366c1dd49a4224f3b200142b60c005305fc5c8a835740c
-SIZE (ghdl-ghdl-v4.0.0_GH0.tar.gz) = 7683124
+TIMESTAMP = 1716623048
+SHA256 (ghdl-ghdl-v4.1.0_GH0.tar.gz) = 0aab531b45a6613b0918f3ac6ec717b8acfad051d1abb1c39eb7490590c7a324
+SIZE (ghdl-ghdl-v4.1.0_GH0.tar.gz) = 7704716
diff --git a/cad/ghdl/pkg-plist b/cad/ghdl/pkg-plist
index 3a0cb1796f1b..8e71496ee3d6 100644
--- a/cad/ghdl/pkg-plist
+++ b/cad/ghdl/pkg-plist
@@ -7,7 +7,7 @@ include/ghdl/vpi_user.h
%%SYNTH%%include/ghdl/synth.h
%%SYNTH%%include/ghdl/synth_gates.h
lib/ghdl/ansi_color.sh
-lib/libghdl-4_0_0.so
+lib/libghdl-4_1_0.so
lib/libghdl.a
lib/libghdl.link
%%LLVM%%lib/ghdl/grt-exec.lst