aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2013-04-29 01:37:04 +0800
committercrees <crees@FreeBSD.org>2013-04-29 01:37:04 +0800
commit71327b9639c31477e124ec5206c615d2e6ccb770 (patch)
tree460d8382fd9696f0a6e5ca435fec6ce4d1a64804 /devel
parent57a366e0941e1ef07af288dc4364c45fb65558ad (diff)
downloadfreebsd-ports-gnome-71327b9639c31477e124ec5206c615d2e6ccb770.tar.gz
freebsd-ports-gnome-71327b9639c31477e124ec5206c615d2e6ccb770.tar.zst
freebsd-ports-gnome-71327b9639c31477e124ec5206c615d2e6ccb770.zip
devel/cross-gcc: Update to 4.5.4
While here, use an OPTION for RTEMS patches Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
Diffstat (limited to 'devel')
-rw-r--r--devel/cross-gcc/Makefile20
-rw-r--r--devel/cross-gcc/distinfo8
2 files changed, 15 insertions, 13 deletions
diff --git a/devel/cross-gcc/Makefile b/devel/cross-gcc/Makefile
index 41505a771537..6964f0907ef6 100644
--- a/devel/cross-gcc/Makefile
+++ b/devel/cross-gcc/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= gcc
-PORTVERSION= 4.5.2
+PORTVERSION= 4.5.4
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC:S,$,:gcc,} \
@@ -122,11 +122,6 @@ CONFIGURE_ARGS+=--with-cpu=${WITH_CPU} \
CONFIGURE_ARGS+=--with-float=${WITH_FLOAT_TYPE}
.endif
-.if defined(WITH_RTEMS_PATCHES)
-PATCHFILES+= gcc-core-4.5.2-rtems4.11-20110220.diff \
- newlib-${NEWLIB_VERSION}-rtems4.11-20110109.diff
-.endif
-
.if defined(WITH_OPTARGS)
CONFIGURE_ARGS+= ${WITH_OPTARGS}
.endif
@@ -145,10 +140,12 @@ OURTARGET= cross # to generate a correct index line
IGNORE= you should select TGTARCH and TGTABI to build port
.endif
-OPTIONS_DEFINE= CXX OBJC FORTRAN
+OPTIONS_DEFINE= CXX OBJC FORTRAN RTEMS_PATCHES
OPTIONS_DEFAULT= CXX OBJC
-.include <bsd.port.pre.mk>
+RTEMS_PATCHES_DESC= Apply RTEMS patches
+
+.include <bsd.port.options.mk>
.if defined(TGTARCH)
.if ${TGTARCH} == "i386" && ${ARCH} == "amd64"
@@ -176,6 +173,11 @@ PLIST_FILES+= bin/${OURTARGET}-gfortran \
${OURTARGET}/bin/gfortran
.endif
+.if ${PORT_OPTIONS:MRTEMS_PATCHES}
+PATCHFILES+= gcc-core-${PORTVERSION}-rtems4.11-20120703.diff \
+ newlib-${NEWLIB_VERSION}-rtems4.11-20110109.diff
+.endif
+
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "---------------------------------------------------------"
@@ -267,4 +269,4 @@ post-install:
@${ECHO_CMD} "@unexec rmdir ${PREFIX}/lib/gcc 2>/dev/null || true" \
>> ${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/cross-gcc/distinfo b/devel/cross-gcc/distinfo
index ca9e2cc63f06..6020caaa665b 100644
--- a/devel/cross-gcc/distinfo
+++ b/devel/cross-gcc/distinfo
@@ -1,8 +1,8 @@
-SHA256 (gcc-4.5.2.tar.bz2) = 1d9362275ffd9d19fd41f1c3dae0805d6e3991c4d5aa80851f2eaf1bbaa21f88
-SIZE (gcc-4.5.2.tar.bz2) = 66328720
+SHA256 (gcc-4.5.4.tar.bz2) = eef3f0456db8c3d992cbb51d5d32558190bc14f3bc19383dd93acc27acc6befc
+SIZE (gcc-4.5.4.tar.bz2) = 66426133
SHA256 (newlib-1.19.0.tar.gz) = 4f43807236b2274c220881ca69f7dc6aecc52f14bb32a6f03404d30780c25007
SIZE (newlib-1.19.0.tar.gz) = 14323667
-SHA256 (gcc-core-4.5.2-rtems4.11-20110220.diff) = 85ef770b6bfd9a126d5d95b7b1186fe63d12d4c067c4d38de4ddb509abd23044
-SIZE (gcc-core-4.5.2-rtems4.11-20110220.diff) = 16578
+SHA256 (gcc-core-4.5.4-rtems4.11-20120703.diff) = 8a4cb755ceb0496abe68f5e1e2e1b980e32cd2ebc363f6209a06c8353d3607d4
+SIZE (gcc-core-4.5.4-rtems4.11-20120703.diff) = 18841
SHA256 (newlib-1.19.0-rtems4.11-20110109.diff) = 8019d82e64cde4dd33c59ff49c31dac75391fdfebf003a20155113b5616976fd
SIZE (newlib-1.19.0-rtems4.11-20110109.diff) = 74293