Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 12:51:11 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351620 - in head/lang/sdcc: . files
Message-ID:  <201404201251.s3KCpB3W030449@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Apr 20 12:51:11 2014
New Revision: 351620
URL: http://svnweb.freebsd.org/changeset/ports/351620
QAT: https://qat.redports.org/buildarchive/r351620/

Log:
  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

Modified:
  head/lang/sdcc/Makefile
  head/lang/sdcc/distinfo
  head/lang/sdcc/files/patch-device-lib-Makefile.in
  head/lang/sdcc/pkg-plist

Modified: head/lang/sdcc/Makefile
==============================================================================
--- head/lang/sdcc/Makefile	Sun Apr 20 11:32:10 2014	(r351619)
+++ head/lang/sdcc/Makefile	Sun Apr 20 12:51:11 2014	(r351620)
@@ -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/boos
 
 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 --dis
 			--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>
 

Modified: head/lang/sdcc/distinfo
==============================================================================
--- head/lang/sdcc/distinfo	Sun Apr 20 11:32:10 2014	(r351619)
+++ head/lang/sdcc/distinfo	Sun Apr 20 12:51:11 2014	(r351620)
@@ -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

Modified: head/lang/sdcc/files/patch-device-lib-Makefile.in
==============================================================================
--- head/lang/sdcc/files/patch-device-lib-Makefile.in	Sun Apr 20 11:32:10 2014	(r351619)
+++ head/lang/sdcc/files/patch-device-lib-Makefile.in	Sun Apr 20 12:51:11 2014	(r351620)
@@ -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:

Modified: head/lang/sdcc/pkg-plist
==============================================================================
--- head/lang/sdcc/pkg-plist	Sun Apr 20 11:32:10 2014	(r351619)
+++ head/lang/sdcc/pkg-plist	Sun Apr 20 12:51:11 2014	(r351620)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404201251.s3KCpB3W030449>