diff options
author | tijl <tijl@FreeBSD.org> | 2014-04-20 20:51:11 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-04-20 20:51:11 +0800 |
commit | 923816ee1065f9ff3f1c841a258c84d54f65d48e (patch) | |
tree | 89a0d94a38d05c246f462c80cc417da7792b5b42 /lang | |
parent | aab0074aea53a0bec98ea6cb9c6471831ead5ea7 (diff) | |
download | freebsd-ports-gnome-923816ee1065f9ff3f1c841a258c84d54f65d48e.tar.gz freebsd-ports-gnome-923816ee1065f9ff3f1c841a258c84d54f65d48e.tar.zst freebsd-ports-gnome-923816ee1065f9ff3f1c841a258c84d54f65d48e.zip |
SDCC version 3.4.0.
Highlights:
- New TLCS90 (Toshiba Z80 clone) target support
- New STMicroelectronics STM8 target support
- Support for named address spaces in ROM
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sdcc/Makefile | 21 | ||||
-rw-r--r-- | lang/sdcc/distinfo | 4 | ||||
-rw-r--r-- | lang/sdcc/files/patch-device-lib-Makefile.in | 17 | ||||
-rw-r--r-- | lang/sdcc/pkg-plist | 3 |
4 files changed, 25 insertions, 20 deletions
diff --git a/lang/sdcc/Makefile b/lang/sdcc/Makefile index 47d356af8f34..93ac3ff9a054 100644 --- a/lang/sdcc/Makefile +++ b/lang/sdcc/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= sdcc -PORTVERSION= 3.3.0 -PORTREVISION= 1 +PORTVERSION= 3.4.0 DISTVERSIONPREFIX= src- CATEGORIES= lang MASTER_SITES= SF @@ -16,23 +15,23 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:${PORTSDIR}/d CONFLICTS_INSTALL= sdcc-[0-9]* sdcc-devel-[0-9]* GNU_CONFIGURE= yes -USES= gmake -USE_BZIP2= yes +USES= gmake tar:bzip2 OPTIONS_DEFINE= DEVLIB DOCS UCSIM OPTIONS_MULTI= TARGETS -OPTIONS_MULTI_TARGETS= HC08 MCS51 PIC Z80 -OPTIONS_DEFAULT= DEVLIB UCSIM HC08 MCS51 PIC Z80 +OPTIONS_MULTI_TARGETS= HC08 MCS51 PIC STM8 Z80 +OPTIONS_DEFAULT= DEVLIB UCSIM HC08 MCS51 PIC STM8 Z80 DEVLIB_DESC= Device libraries HC08_DESC= Freescale 68HC08/S08 MCS51_DESC= Intel MCS51, Maxim DS80C390/DS80C400 PIC_DESC= Microchip PIC UCSIM_DESC= The ucSim simulator -Z80_DESC= Zilog Z80/Z180/GBZ80, Rabbit 2000/3000/3000A +STM8_DESC= STMicroelectronics STM8 +Z80_DESC= Zilog Z80/Z180/GBZ80, Rabbit 2000/3000, Toshiba TLCS-90 CPPFLAGS+= -idirafter ${LOCALBASE}/include CONFIGURE_ARGS= --disable-avr --disable-install-libbfd --disable-werror \ - --enable-new-pics docdir=${DOCSDIR} sdcc_cv_c_fms_extensions=no + --disable-st7 docdir=${DOCSDIR} sdcc_cv_c_fms_extensions=no CONFIGURE_ENV= ARCH="" PORTDATA= * PORTDOCS= * @@ -44,13 +43,15 @@ HC08_CONFIGURE_OFF= --disable-hc08 --disable-hc08-port \ --disable-s08-port MCS51_CONFIGURE_OFF= --disable-51 --disable-mcs51-port \ --disable-ds390-port --disable-ds400-port -PIC_BUILD_DEPENDS= gputils>=1.0.0:${PORTSDIR}/devel/gputils +PIC_BUILD_DEPENDS= gputils>=1.2.0:${PORTSDIR}/devel/gputils PIC_RUN_DEPENDS= gpasm:${PORTSDIR}/devel/gputils PIC_CONFIGURE_OFF= --disable-pic14-port --disable-pic16-port UCSIM_CONFIGURE_OFF= --disable-ucsim +STM8_CONFIGURE_OFF= --disable-stm8 --disable-stm8-port Z80_CONFIGURE_OFF= --disable-z80 --disable-z80-port \ --disable-z180-port --disable-gbz80-port \ - --disable-r2k-port --disable-r3ka-port + --disable-r2k-port --disable-r3ka-port \ + --disable-tlcs90-port .include <bsd.port.options.mk> diff --git a/lang/sdcc/distinfo b/lang/sdcc/distinfo index e69db62c6d1b..01f7a53f29fe 100644 --- a/lang/sdcc/distinfo +++ b/lang/sdcc/distinfo @@ -1,2 +1,2 @@ -SHA256 (sdcc-src-3.3.0.tar.bz2) = 873f61f29e829e65ba8afcf992cced8f91b0c4bd52b0be7d5e9b0cbcb58644de -SIZE (sdcc-src-3.3.0.tar.bz2) = 9923501 +SHA256 (sdcc-src-3.4.0.tar.bz2) = cf6af862b94d5f259f11afa0a1b86304f3047b3723a9df96f20dba869deb5bf9 +SIZE (sdcc-src-3.4.0.tar.bz2) = 10249599 diff --git a/lang/sdcc/files/patch-device-lib-Makefile.in b/lang/sdcc/files/patch-device-lib-Makefile.in index 957a3566fe28..62ad24630d04 100644 --- a/lang/sdcc/files/patch-device-lib-Makefile.in +++ b/lang/sdcc/files/patch-device-lib-Makefile.in @@ -1,16 +1,17 @@ ---- device/lib/Makefile.in.orig 2012-05-18 18:09:24.000000000 +0200 -+++ device/lib/Makefile.in 2012-07-15 17:05:35.000000000 +0200 -@@ -485,26 +485,6 @@ +--- device/lib/Makefile.in.orig ++++ device/lib/Makefile.in +@@ -501,27 +501,6 @@ # --------------------------------------------------- install: all installdirs [ ! -d "$(BUILDDIR)" ] || $(CP_U) -r $(BUILDDIR)/* $(sdcc_libdir) - $(CP_U) -r $(MODELS) $(srcdir)/mcs51 $(srcdir)/ds390 $(srcdir)/ds400 \ -- $(srcdir)/z80 $(srcdir)/z180 $(srcdir)/r2k $(srcdir)/r3ka $(srcdir)/gbz80 \ -- $(srcdir)/hc08 $(srcdir)/s08 \ +- $(srcdir)/z80 $(srcdir)/z180 $(srcdir)/r2k $(srcdir)/r3ka $(srcdir)/tlcs90 $(srcdir)/gbz80 \ +- $(srcdir)/hc08 $(srcdir)/s08 \ +- $(srcdir)/stm8 \ - $(srcdir)/pic14 $(srcdir)/pic16 $(srcdir)/*.c $(sdcc_libdir)/src -- $(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 r2k r3ka gbz80 hc08 s08 $(sdcc_libdir)/src +- $(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 $(sdcc_libdir)/src - -- for src in $(MODELS) ds390 ds400 z80 z180 r2k r3ka gbz80 hc08 s08 pic14 pic16; do \ +- for src in $(MODELS) ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pic14 pic16; do \ - find $(sdcc_libdir)/src/$$src -depth \ - \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \ - -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'autom4te.cache' -o \ @@ -27,7 +28,7 @@ # Deleting all the installed files # -------------------------------- -@@ -524,13 +504,7 @@ +@@ -541,13 +520,7 @@ # Creating installation directories # --------------------------------- installdirs: diff --git a/lang/sdcc/pkg-plist b/lang/sdcc/pkg-plist index c21a61787ef3..efab739b4fb5 100644 --- a/lang/sdcc/pkg-plist +++ b/lang/sdcc/pkg-plist @@ -8,6 +8,8 @@ bin/sdar %%MCS51%%bin/sdas8051 %%Z80%%bin/sdasgb %%Z80%%bin/sdasrab +%%STM8%%bin/sdasstm8 +%%Z80%%bin/sdastlcs90 %%Z80%%bin/sdasz80 bin/sdcc bin/sdcclib @@ -23,4 +25,5 @@ bin/sdnm bin/sdobjcopy bin/sdranlib %%UCSIM%%%%HC08%%bin/shc08 +%%UCSIM%%%%STM8%%bin/sstm8 %%UCSIM%%%%Z80%%bin/sz80 |