Update to sdcc-3.6.0.

from Brian Callahan (new maintainer)
This commit is contained in:
benoit 2017-06-14 07:38:17 +00:00
parent b001a73401
commit 7ede97bfdf
12 changed files with 10203 additions and 7265 deletions

View File

@ -1,20 +1,20 @@
# $OpenBSD: Makefile,v 1.13 2017/04/10 11:45:27 sthen Exp $
# $OpenBSD: Makefile,v 1.14 2017/06/14 07:38:17 benoit Exp $
COMMENT= Small Device C Compiler
BROKEN-sparc64= illegal operands building SDCCval.c
BROKEN-alpha= sdcc segfaults when building the device library
DISTNAME= sdcc-src-2.8.0
DISTNAME= sdcc-src-3.6.0
PKGNAME= ${DISTNAME:S/-src//}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= devel
REVISION= 2
HOMEPAGE= http://sdcc.sourceforge.net/
MAINTAINER= Brian Callahan <bcallah@devio.us>
# GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m ${LIBCXX} readline termcap
WANTLIB= c m ${LIBCXX} readline termcap z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdcc/}
@ -23,10 +23,12 @@ RUN_DEPENDS= devel/gputils
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= docdir=${PREFIX}/share/doc/sdcc
CONFIGURE_ENV+= sdcc_cv_CCggdb="no"
CONFIGURE_ENV+= sdcc_cv_CCggdb="no" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/sdcc
WRKDIST= ${WRKDIR}/${PKGNAME}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (sdcc-src-2.8.0.tar.bz2) = y7A1aZ2JEMfKL6Ngp3NQS0QWXpgELtjCCP6i/kepZVc=
SIZE (sdcc-src-2.8.0.tar.bz2) = 3460693
SHA256 (sdcc-src-3.6.0.tar.bz2) = 6F3OsR4B/++1Rew4nakSZRMMkZU1iTkt3dLl7At8o3Q=
SIZE (sdcc-src-3.6.0.tar.bz2) = 17993788

View File

@ -1,8 +0,0 @@
$OpenBSD: patch-sdcc_device_examples_mcs51_simple2_go,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- device/examples/mcs51/simple2/go.orig Mon Nov 27 15:31:00 2006
+++ device/examples/mcs51/simple2/go Mon Nov 27 15:31:10 2006
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/bin/ksh
sdcc hi.c

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-sdcc_device_examples_mcs51_simple2_test,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- device/examples/mcs51/simple2/test.orig Mon Nov 27 15:31:01 2006
+++ device/examples/mcs51/simple2/test Mon Nov 27 15:31:06 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/ksh
s51 -k 5678 hi.ihx

View File

@ -1,8 +0,0 @@
$OpenBSD: patch-sdcc_device_examples_mcs51_simple_go,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- device/examples/mcs51/simple/go.orig Mon Nov 27 15:30:42 2006
+++ device/examples/mcs51/simple/go Mon Nov 27 15:30:53 2006
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/bin/ksh
sdcc hi.c

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-sdcc_device_examples_mcs51_simple_test,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- device/examples/mcs51/simple/test.orig Mon Nov 27 15:30:37 2006
+++ device/examples/mcs51/simple/test Mon Nov 27 15:30:49 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/ksh
# Try out the simulator. Route serial port output to a text file.
# After simulator is started, you need to type:

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-sdcc_sim_ucsim_conf,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- sim/ucsim/conf.orig Mon Nov 27 15:34:04 2006
+++ sim/ucsim/conf Mon Nov 27 15:34:10 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/ksh
TARGET=linux

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-sdcc_sim_ucsim_configure,v 1.2 2007/06/06 17:23:09 jasper Exp $
--- sim/ucsim/configure.orig Sun Jan 21 10:09:01 2007
+++ sim/ucsim/configure Wed Jun 6 19:13:16 2007
@@ -7316,11 +7316,11 @@ cygwin* | mingw* | pw32*)
yes,cygwin*)
library_names_spec='$libname.dll.a'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+ postinstall_cmds='dlpath=`ksh 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog .libs/$dlname \$dldir/$dlname'
- postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ postuninstall_cmds='dldll=`ksh 2>&1 -c '\''. $file; echo \$dlname'\''`~
dlpath=$dir/\$dldll~
$rm \$dlpath'
;;

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-sdcc_sim_ucsim_libltdl_acinclude_m4,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- sim/ucsim/libltdl/acinclude.m4.orig Fri Jan 3 09:51:59 2003
+++ sim/ucsim/libltdl/acinclude.m4 Mon Dec 25 11:58:00 2006
@@ -2023,11 +2023,11 @@ cygwin* | mingw* | pw32*)
yes,cygwin*)
library_names_spec='$libname.dll.a'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+ postinstall_cmds='dlpath=`ksh 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog .libs/$dlname \$dldir/$dlname'
- postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ postuninstall_cmds='dldll=`ksh 2>&1 -c '\''. $file; echo \$dlname'\''`~
dlpath=$dir/\$dldll~
$rm \$dlpath'
;;

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-sdcc_sim_ucsim_libltdl_aclocal_m4,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- sim/ucsim/libltdl/aclocal.m4.orig Fri Jan 3 09:51:59 2003
+++ sim/ucsim/libltdl/aclocal.m4 Mon Dec 25 11:58:00 2006
@@ -1976,11 +1976,11 @@ cygwin* | mingw* | pw32*)
yes,cygwin*)
library_names_spec='$libname.dll.a'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+ postinstall_cmds='dlpath=`ksh 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog .libs/$dlname \$dldir/$dlname'
- postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ postuninstall_cmds='dldll=`ksh 2>&1 -c '\''. $file; echo \$dlname'\''`~
dlpath=$dir/\$dldll~
$rm \$dlpath'
;;

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-sdcc_sim_ucsim_libltdl_configure,v 1.1.1.1 2006/12/30 18:45:32 jasper Exp $
--- sim/ucsim/libltdl/configure.orig Fri Jan 3 09:51:59 2003
+++ sim/ucsim/libltdl/configure Mon Dec 25 11:58:01 2006
@@ -4413,11 +4413,11 @@ cygwin* | mingw* | pw32*)
yes,cygwin*)
library_names_spec='$libname.dll.a'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+ postinstall_cmds='dlpath=`ksh 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog .libs/$dlname \$dldir/$dlname'
- postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ postuninstall_cmds='dldll=`ksh 2>&1 -c '\''. $file; echo \$dlname'\''`~
dlpath=$dir/\$dldll~
$rm \$dlpath'
;;

File diff suppressed because it is too large Load Diff