wok-6.x diff sdcc/receipt @ rev 22346

Up sdcc (3.9.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 23:42:49 2019 +0100 (2019-11-17)
parents 02c70d036ea0
children 7560f38771b5
line diff
     1.1 --- a/sdcc/receipt	Tue Feb 26 09:14:07 2019 +0100
     1.2 +++ b/sdcc/receipt	Sun Nov 17 23:42:49 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sdcc"
     1.7 -VERSION="3.2.0"
     1.8 +VERSION="3.9.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,15 +11,13 @@
    1.13  WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    1.14  TAGS="cross compiler C 8051 Z80 68HC08 assembler"
    1.15  
    1.16 -BUILD_DEPENDS="flex libboost-graph-dev gputils"
    1.17 +DEPENDS="gcc83-lib-base"
    1.18 +BUILD_DEPENDS="flex libboost-graph-dev gputils gcc83"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	cd $src
    1.24 -	sed -i 's/exec/[ "$1" = ":" ] || &/' device/lib/pic16/depcomp
    1.25 -	sed -i 's/ -u$//' device/lib/Makefile*
    1.26 -
    1.27 +	export CC=gcc-83 CXX=g++-83
    1.28  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.29  	--mandir=/usr/share/man \
    1.30  	$CONFIGURE_ARGS &&
    1.31 @@ -32,4 +30,3 @@
    1.32  {
    1.33  	cp -a $install/usr $fs
    1.34  }
    1.35 -