mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Update to version 3.5.5.2016.02.20
- Patch files to replace ARCH with PICARCH. NOPRECIOUSMAKEVARS makes bsd.port.mk stop using ARCH but the package builders set ARCH in their make.conf anyway. - Allow parallel building again (fixed upstream) - Remove Boost 1.60 patches (fixed upstream)
This commit is contained in:
parent
2216130fdf
commit
52eeacad11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409286
5 changed files with 25 additions and 52 deletions
|
@ -1,13 +1,12 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= sdcc
|
PORTNAME= sdcc
|
||||||
PORTVERSION= 3.5.5.2015.11.06
|
PORTVERSION= 3.5.5.2016.02.20
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= lang
|
CATEGORIES= lang
|
||||||
MASTER_SITES= SF/sdcc/snapshot_builds/sdcc-src/ \
|
MASTER_SITES= SF/sdcc/snapshot_builds/sdcc-src/ \
|
||||||
http://tijl.fastmail.com/mirror/
|
http://tijl.fastmail.com/mirror/
|
||||||
PKGNAMESUFFIX= -devel
|
PKGNAMESUFFIX= -devel
|
||||||
DISTNAME= ${PORTNAME}-src-20151106-9386
|
DISTNAME= ${PORTNAME}-src-20160220-9506
|
||||||
|
|
||||||
MAINTAINER= tijl@FreeBSD.org
|
MAINTAINER= tijl@FreeBSD.org
|
||||||
COMMENT= Small Device C Compiler
|
COMMENT= Small Device C Compiler
|
||||||
|
@ -35,11 +34,9 @@ Z80_DESC= Zilog Z80/Z180/GBZ80, Rabbit 2000/3000, Toshiba TLCS-90
|
||||||
|
|
||||||
CONFIGURE_ARGS= --disable-avr --disable-install-libbfd --disable-werror \
|
CONFIGURE_ARGS= --disable-avr --disable-install-libbfd --disable-werror \
|
||||||
--disable-st7 docdir=${DOCSDIR} sdcc_cv_c_fms_extensions=no
|
--disable-st7 docdir=${DOCSDIR} sdcc_cv_c_fms_extensions=no
|
||||||
NOPRECIOUSMAKEVARS= yes
|
|
||||||
PORTDATA= *
|
PORTDATA= *
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
WRKSRC= ${WRKDIR}/sdcc
|
WRKSRC= ${WRKDIR}/sdcc
|
||||||
MAKE_JOBS_UNSAFE=yes
|
|
||||||
|
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
DEVLIB_CONFIGURE_OFF= --disable-device-lib
|
DEVLIB_CONFIGURE_OFF= --disable-device-lib
|
||||||
|
@ -69,6 +66,27 @@ post-patch:
|
||||||
${WRKSRC}/support/sdbinutils/libiberty/Makefile.in
|
${WRKSRC}/support/sdbinutils/libiberty/Makefile.in
|
||||||
@${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' \
|
@${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' \
|
||||||
${WRKSRC}/support/sdbinutils/bfd/Makefile.in
|
${WRKSRC}/support/sdbinutils/bfd/Makefile.in
|
||||||
|
@${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/PICARCH/g' \
|
||||||
|
${WRKSRC}/device/lib/pic14/Makefile.common \
|
||||||
|
${WRKSRC}/device/lib/pic14/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic14/configure \
|
||||||
|
${WRKSRC}/device/lib/pic14/libm/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic14/libsdcc/enhanced/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic14/libsdcc/enhanced-no-xinst/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic14/libsdcc/regular/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/configure \
|
||||||
|
${WRKSRC}/device/lib/pic16/debug/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/libc/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/libio/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/libm/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/libsdcc/Makefile.in \
|
||||||
|
${WRKSRC}/device/lib/pic16/startup/Makefile.in \
|
||||||
|
${WRKSRC}/device/non-free/lib/pic14/Makefile.common.in \
|
||||||
|
${WRKSRC}/device/non-free/lib/pic14/Makefile.rules \
|
||||||
|
${WRKSRC}/device/non-free/lib/pic16/Makefile.in \
|
||||||
|
${WRKSRC}/device/non-free/lib/pic16/configure \
|
||||||
|
${WRKSRC}/device/non-free/lib/pic16/libdev/Makefile.in
|
||||||
.if ! ${PORT_OPTIONS:MDOCS}
|
.if ! ${PORT_OPTIONS:MDOCS}
|
||||||
@${REINPLACE_CMD} 's, [a-z-]*doc,,' \
|
@${REINPLACE_CMD} 's, [a-z-]*doc,,' \
|
||||||
${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (sdcc-src-20151106-9386.tar.bz2) = 8e2cd0807e15045bcdef6ebcffdd85600116ff1834b41a86c7413cfbbc49029d
|
SHA256 (sdcc-src-20160220-9506.tar.bz2) = a5c47d85889ca062085dda28013f04f4125edd90e39c76077eeba057f339c729
|
||||||
SIZE (sdcc-src-20151106-9386.tar.bz2) = 14390037
|
SIZE (sdcc-src-20160220-9506.tar.bz2) = 17935525
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
--- src/SDCClospre.hpp.orig 2014-01-03 17:18:45 UTC
|
|
||||||
+++ src/SDCClospre.hpp
|
|
||||||
@@ -19,6 +19,12 @@
|
|
||||||
//
|
|
||||||
// Lifetime-optimal speculative partial redundancy elimination.
|
|
||||||
|
|
||||||
+// Workaround for boost bug #11880
|
|
||||||
+#include <boost/version.hpp>
|
|
||||||
+#if BOOST_VERSION == 106000
|
|
||||||
+ #include <boost/type_traits/ice.hpp>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include <boost/graph/graphviz.hpp>
|
|
||||||
#include <boost/tuple/tuple.hpp>
|
|
||||||
#include <boost/tuple/tuple_comparison.hpp>
|
|
|
@ -1,15 +0,0 @@
|
||||||
--- src/SDCCnaddr.hpp.orig 2015-04-01 13:50:35 UTC
|
|
||||||
+++ src/SDCCnaddr.hpp
|
|
||||||
@@ -37,6 +37,12 @@
|
|
||||||
#include <sstream>
|
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
+// Workaround for boost bug #11880
|
|
||||||
+#include <boost/version.hpp>
|
|
||||||
+#if BOOST_VERSION == 106000
|
|
||||||
+ #include <boost/type_traits/ice.hpp>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include <boost/graph/graphviz.hpp>
|
|
||||||
|
|
||||||
#include "SDCCtree_dec.hpp"
|
|
|
@ -1,15 +0,0 @@
|
||||||
--- src/SDCCralloc.hpp.orig 2015-02-25 10:25:50 UTC
|
|
||||||
+++ src/SDCCralloc.hpp
|
|
||||||
@@ -51,6 +51,12 @@
|
|
||||||
#include <sstream>
|
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
+// Workaround for boost bug #11880
|
|
||||||
+#include <boost/version.hpp>
|
|
||||||
+#if BOOST_VERSION == 106000
|
|
||||||
+ #include <boost/type_traits/ice.hpp>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include <boost/graph/graphviz.hpp>
|
|
||||||
#include <boost/graph/adjacency_matrix.hpp>
|
|
||||||
#include <boost/graph/connected_components.hpp>
|
|
Loading…
Add table
Reference in a new issue