Tue Jan 2 00:43:09 2024 UTC (167d)
ghdl: Bump PKGREVISION for previous


(ryoon)
diff -r1.17 -r1.18 pkgsrc/cad/ghdl/Makefile

cvs diff -r1.17 -r1.18 pkgsrc/cad/ghdl/Makefile (switch to unified diff)

--- pkgsrc/cad/ghdl/Makefile 2024/01/02 00:42:03 1.17
+++ pkgsrc/cad/ghdl/Makefile 2024/01/02 00:43:09 1.18
@@ -1,52 +1,52 @@ @@ -1,52 +1,52 @@
1# $NetBSD: Makefile,v 1.17 2024/01/02 00:42:03 ryoon Exp $ 1# $NetBSD: Makefile,v 1.18 2024/01/02 00:43:09 ryoon Exp $
2 2
3DISTNAME= ghdl-3.0.0 3DISTNAME= ghdl-3.0.0
4PKGREVISION= 1 4PKGREVISION= 2
5CATEGORIES= cad 5CATEGORIES= cad
6MASTER_SITES= ${MASTER_SITE_GITHUB:=ghdl/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=ghdl/}
7GITHUB_PROJECT= ghdl 7GITHUB_PROJECT= ghdl
8GITHUB_TAG= v${PKGVERSION_NOREV} 8GITHUB_TAG= v${PKGVERSION_NOREV}
9 9
10MAINTAINER= ryoon@NetBSD.org 10MAINTAINER= ryoon@NetBSD.org
11HOMEPAGE= https://ghdl.github.io/ghdl/ 11HOMEPAGE= https://ghdl.github.io/ghdl/
12COMMENT= Open-source simulator/compiler/analyzer for the VHDL 12COMMENT= Open-source simulator/compiler/analyzer for the VHDL
13LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
14 14
15#BROKEN= "Does not support llvm 16." 15#BROKEN= "Does not support llvm 16."
16 16
17USE_TOOLS+= bash:run gmake 17USE_TOOLS+= bash:run gmake
18 18
19USE_LANGUAGES+= c c++ # ada 19USE_LANGUAGES+= c c++ # ada
20 20
21# lang/gcc10-aux does not support RELRO 21# lang/gcc10-aux does not support RELRO
22# and this package should use same condition. 22# and this package should use same condition.
23RELRO_SUPPORTED= no 23RELRO_SUPPORTED= no
24MKPIE_SUPPORTED= no 24MKPIE_SUPPORTED= no
25 25
26REPLACE_BASH= scripts/vendors/*.sh 26REPLACE_BASH= scripts/vendors/*.sh
27## This approach to use __time50() and __ctime50() is unavailable 27## This approach to use __time50() and __ctime50() is unavailable
28## because Ada language would not accept symbols start with '_'. 28## because Ada language would not accept symbols start with '_'.
29#.include "../../mk/bsd.prefs.mk" 29#.include "../../mk/bsd.prefs.mk"
30#.if ${OPSYS} == "NetBSD" 30#.if ${OPSYS} == "NetBSD"
31#SUBST_CLASSES+= time 31#SUBST_CLASSES+= time
32#SUBST_STAGE.time= pre-configure 32#SUBST_STAGE.time= pre-configure
33#SUBST_MESSAGE.time= Use correct functions in time.h 33#SUBST_MESSAGE.time= Use correct functions in time.h
34#SUBST_FILES.time+= src/grt/grt-vcd.adb 34#SUBST_FILES.time+= src/grt/grt-vcd.adb
35#SUBST_SED.time+= -e 's/pragma Import (C, time);/pragma Import (C, __time50);/g' 35#SUBST_SED.time+= -e 's/pragma Import (C, time);/pragma Import (C, __time50);/g'
36#SUBST_SED.time+= -e 's/pragma Import (C, ctime);/pragma Import (C, __ctime50);/g' 36#SUBST_SED.time+= -e 's/pragma Import (C, ctime);/pragma Import (C, __ctime50);/g'
37#.endif 37#.endif
38 38
39HAS_CONFIGURE= yes 39HAS_CONFIGURE= yes
40CONFIGURE_ENV+= GNATMAKE=${PREFIX}/gcc10-aux/bin/gnatmake 40CONFIGURE_ENV+= GNATMAKE=${PREFIX}/gcc10-aux/bin/gnatmake
41CONFIGURE_ARGS+= --prefix=${PREFIX} 41CONFIGURE_ARGS+= --prefix=${PREFIX}
42CONFIGURE_ARGS+= --enable-synth 42CONFIGURE_ARGS+= --enable-synth
43CONFIGURE_ARGS+= --enable-libghdl 43CONFIGURE_ARGS+= --enable-libghdl
44# Select LLVM backend 44# Select LLVM backend
45CONFIGURE_ARGS+= --with-llvm-config=${PREFIX}/bin/llvm-config 45CONFIGURE_ARGS+= --with-llvm-config=${PREFIX}/bin/llvm-config
46 46
47BUILDLINK_DEPMETHOD.clang= build 47BUILDLINK_DEPMETHOD.clang= build
48.include "../../lang/clang/buildlink3.mk" 48.include "../../lang/clang/buildlink3.mk"
49.include "../../lang/llvm/buildlink3.mk" 49.include "../../lang/llvm/buildlink3.mk"
50# GNAT 8.1 or later is required for --enable-synth. 50# GNAT 8.1 or later is required for --enable-synth.
51.include "../../lang/gcc10-aux/buildlink3.mk" 51.include "../../lang/gcc10-aux/buildlink3.mk"
52.include "../../mk/bsd.pkg.mk" 52.include "../../mk/bsd.pkg.mk"