mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
cad/ghdl: Upgrade version 0.32 => 0.33
This commit is contained in:
parent
8bdcfd803f
commit
063e6270d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403149
4 changed files with 14 additions and 39 deletions
|
@ -2,8 +2,8 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= ghdl
|
PORTNAME= ghdl
|
||||||
PORTVERSION= 0.32
|
PORTVERSION= 0.33
|
||||||
PORTREVISION= 2
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||||
|
|
||||||
|
@ -19,9 +19,8 @@ LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
|
||||||
|
|
||||||
USES= ada gmake
|
USES= ada gmake
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= hanzer
|
GH_ACCOUNT= tgingold
|
||||||
GH_PROJECT= gVHDL
|
GH_PROJECT= ghdl
|
||||||
GH_TAGNAME= 5adb2f6
|
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
GCCVER= 4.9.2
|
GCCVER= 4.9.2
|
||||||
|
@ -31,7 +30,7 @@ BUILDDIR= ${WRKDIR}/build
|
||||||
GCCSRCDIR= ${WRKDIR}/gcc-${GCCVER}
|
GCCSRCDIR= ${WRKDIR}/gcc-${GCCVER}
|
||||||
CFG_SCRIPT= ${GCCSRCDIR}/configure
|
CFG_SCRIPT= ${GCCSRCDIR}/configure
|
||||||
PKG_PREFIX= ${PREFIX}/ghdl
|
PKG_PREFIX= ${PREFIX}/ghdl
|
||||||
LINKER_COMMAND= ${LOCALBASE}/gcc-aux/bin/gcc
|
LINKER_COMMAND= ${LOCALBASE}/${ADAXX}-aux/bin/gcc
|
||||||
|
|
||||||
GHDL_ARGS= --enable-languages="c,vhdl" \
|
GHDL_ARGS= --enable-languages="c,vhdl" \
|
||||||
--build=${BLD_TARGET} \
|
--build=${BLD_TARGET} \
|
||||||
|
@ -68,9 +67,6 @@ PLIST_SUB= DRAGONFLY="@comment " FREEBSD=""
|
||||||
|
|
||||||
.if ${OPSYS} == FreeBSD
|
.if ${OPSYS} == FreeBSD
|
||||||
MODERN_BINUTILS= yes
|
MODERN_BINUTILS= yes
|
||||||
. if ${OSREL:R} == 8 && ${ARCH} == i386
|
|
||||||
BROKEN= get_pc_thunk.cx errors
|
|
||||||
. endif
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${ARCH:S/amd64/x86_64/} == x86_64
|
.if ${ARCH:S/amd64/x86_64/} == x86_64
|
||||||
|
@ -100,7 +96,7 @@ PLIST_SUB+= GLEX=ghdl/libexec/gcc/${BLD_TARGET}/${GCCVER} \
|
||||||
GLIB=ghdl/lib/gcc/${BLD_TARGET}/${GCCVER} \
|
GLIB=ghdl/lib/gcc/${BLD_TARGET}/${GCCVER} \
|
||||||
TARGET=${BLD_TARGET}
|
TARGET=${BLD_TARGET}
|
||||||
. if ${OPSYS} == DragonFly
|
. if ${OPSYS} == DragonFly
|
||||||
IGNORE= Not supported by GCC backend
|
IGNORE= not supported by GCC backend
|
||||||
. endif
|
. endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
SHA256 (hanzer-gVHDL-0.32-5adb2f6_GH0.tar.gz) = 49ff21abe8f5a1d8b1fc2b874c7ff78287dd8fcab3a6fff184c96c1456e4ee3d
|
SHA256 (tgingold-ghdl-v0.33_GH0.tar.gz) = aa1519e72e4537e69cefd18a212221a77ecac021f935b1c969532dfa3c7edb27
|
||||||
SIZE (hanzer-gVHDL-0.32-5adb2f6_GH0.tar.gz) = 3089398
|
SIZE (tgingold-ghdl-v0.33_GH0.tar.gz) = 3202198
|
||||||
SHA256 (gcc-4.9.2.tar.bz2) = 2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd
|
SHA256 (gcc-4.9.2.tar.bz2) = 2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd
|
||||||
SIZE (gcc-4.9.2.tar.bz2) = 89939747
|
SIZE (gcc-4.9.2.tar.bz2) = 89939747
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- src/ghdldrv/ghdldrv.adb.orig 2015-05-30 07:12:42 UTC
|
--- src/ghdldrv/ghdldrv.adb.orig 2015-10-23 05:51:44 UTC
|
||||||
+++ src/ghdldrv/ghdldrv.adb
|
+++ src/ghdldrv/ghdldrv.adb
|
||||||
@@ -43,8 +43,8 @@ package body Ghdldrv is
|
@@ -42,8 +42,8 @@ package body Ghdldrv is
|
||||||
-- Name of the tools used.
|
-- Name of the tools used.
|
||||||
Compiler_Cmd : String_Access := null;
|
Compiler_Cmd : String_Access := null;
|
||||||
Post_Processor_Cmd : String_Access := null;
|
Post_Processor_Cmd : String_Access := null;
|
||||||
|
@ -11,17 +11,10 @@
|
||||||
|
|
||||||
-- Path of the tools.
|
-- Path of the tools.
|
||||||
Compiler_Path : String_Access;
|
Compiler_Path : String_Access;
|
||||||
@@ -467,15 +467,9 @@ package body Ghdldrv is
|
@@ -502,8 +502,9 @@ package body Ghdldrv is
|
||||||
end if;
|
-- Linker.
|
||||||
end if;
|
Linker_Path := Locate_Exec_On_Path (Linker_Cmd);
|
||||||
if Compile_Kind >= Compile_Gcc then
|
if Linker_Path = null then
|
||||||
- Assembler_Path := Locate_Exec_On_Path (Assembler_Cmd);
|
|
||||||
- if Assembler_Path = null and not Flag_Asm then
|
|
||||||
- Tool_Not_Found (Assembler_Cmd);
|
|
||||||
- end if;
|
|
||||||
- end if;
|
|
||||||
- Linker_Path := Locate_Exec_On_Path (Linker_Cmd);
|
|
||||||
- if Linker_Path = null then
|
|
||||||
- Tool_Not_Found (Linker_Cmd);
|
- Tool_Not_Found (Linker_Cmd);
|
||||||
+ Assembler_Path := Assembler_Cmd'Access;
|
+ Assembler_Path := Assembler_Cmd'Access;
|
||||||
end if;
|
end if;
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- src/grt/Makefile.inc.orig 2015-06-01 05:56:40 UTC
|
|
||||||
+++ src/grt/Makefile.inc
|
|
||||||
@@ -71,6 +71,11 @@ ifeq ($(filter-out x86_64 freebsd%,$(arc
|
|
||||||
GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
|
|
||||||
ADAC=ada
|
|
||||||
endif
|
|
||||||
+ifeq ($(filter-out x86_64 dragonfly%,$(arch) $(osys)),)
|
|
||||||
+ GRT_TARGET_OBJS=amd64.o linux.o times.o
|
|
||||||
+ GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
|
|
||||||
+ ADAC=ada
|
|
||||||
+endif
|
|
||||||
ifeq ($(filter-out i%86 darwin%,$(arch) $(osys)),)
|
|
||||||
GRT_TARGET_OBJS=i386.o linux.o times.o
|
|
||||||
GRT_EXTRA_LIB=
|
|
Loading…
Add table
Reference in a new issue