aboutsummaryrefslogtreecommitdiff
path: root/devel/cross-gcc
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2011-04-03 01:03:01 +0000
committerStanislav Sedov <stas@FreeBSD.org>2011-04-03 01:03:01 +0000
commit6d5048622dbc446851fc833675782142f3bea9bc (patch)
tree19bc9c64114fd9eb67c23e991bef41884eb3832e /devel/cross-gcc
parent9ef2b068da83f946df28a5a8e54da9489fe90322 (diff)
downloadports-6d5048622dbc446851fc833675782142f3bea9bc.tar.gz
ports-6d5048622dbc446851fc833675782142f3bea9bc.zip
Notes
Diffstat (limited to 'devel/cross-gcc')
-rw-r--r--devel/cross-gcc/Makefile25
-rw-r--r--devel/cross-gcc/distinfo20
2 files changed, 24 insertions, 21 deletions
diff --git a/devel/cross-gcc/Makefile b/devel/cross-gcc/Makefile
index 68753188c3c5..f0543953ca3f 100644
--- a/devel/cross-gcc/Makefile
+++ b/devel/cross-gcc/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME?= gcc
-PORTVERSION= 4.4.2
-PORTREVISION= 2
+PORTVERSION= 4.5.2
+PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC:S,$,:gcc,} \
${MASTER_SITE_SOURCEWARE:S,$,:newlib,}
@@ -17,16 +17,15 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gcc \
newlib-${NEWLIB_VERSION}${NEWLIB_EXTRACT_SUFX}:newlib
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/SOURCES/4.10/
+PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/SOURCES/4.11/
PATCH_DIST_STRIP= -p1
MAINTAINER= stas@FreeBSD.org
COMMENT= GNU gcc for cross-target development
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
- mpfr.4:${PORTSDIR}/math/mpfr
-
-BROKEN= does not build
+ mpfr.4:${PORTSDIR}/math/mpfr \
+ mpc.2:${PORTSDIR}/math/mpc
#
# Temporary hack to deal with dependencies during package builds for
@@ -57,7 +56,7 @@ CONFIGURE_SCRIPT= ../${WRKSRC:C,^${WRKDIR}/?,,}/configure
#
# Newlib version to use
#
-NEWLIB_VERSION= 1.17.0
+NEWLIB_VERSION= 1.19.0
NEWLIB_EXTRACT_SUFX=.tar.gz
OURTARGET= ${TGTARCH}-${TGTABI}
@@ -70,6 +69,7 @@ MAKE_ENV= NO_CPU_CFLAGS=true
CONFIGURE_ARGS= --target=${OURTARGET} \
--enable-languages="${TGTLANGS}" \
+ --datadir="${TGT_DATADIR}" \
--with-system-zlib \
--disable-nls \
--with-libiconv-prefix=${LOCALBASE} \
@@ -80,6 +80,7 @@ CONFIGURE_ARGS= --target=${OURTARGET} \
--disable-shared \
--with-gmp="${LOCALBASE}" \
--with-mpfr="${LOCALBASE}" \
+ --with-mpc="${LOCALBASE}"
MAN1= ${MANPAGES:S,^,${OURTARGET}-,}
@@ -90,6 +91,7 @@ INFO= ${OURTARGET}-cpp \
GCC_AUTODIRS= ${OURTARGET}/include \
${OURTARGET}/lib \
+ ${OURTARGET}/share \
libexec/gcc/${OURTARGET} \
lib/gcc/${OURTARGET}
@@ -106,6 +108,7 @@ PLIST_FILES= bin/${OURTARGET}-cpp \
TGTLANGS= c
TGT_LIBDIR= ${PREFIX}/${OURTARGET}/lib/gcc/
+TGT_DATADIR= ${PREFIX}/${OURTARGET}/share
LN_BINARIES= addr2line ar as c++filt ld \
nm objcopy objdump ranlib \
@@ -123,8 +126,12 @@ CONFIGURE_ARGS+=--with-float=${WITH_FLOAT_TYPE}
.endif
.if defined(WITH_RTEMS_PATCHES)
-PATCHFILES+= gcc-core-4.4.2-rtems4.10-20091015.diff \
- newlib-${NEWLIB_VERSION}-rtems4.10-20091009.diff
+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
#
diff --git a/devel/cross-gcc/distinfo b/devel/cross-gcc/distinfo
index 2171961f0543..ca9e2cc63f06 100644
--- a/devel/cross-gcc/distinfo
+++ b/devel/cross-gcc/distinfo
@@ -1,12 +1,8 @@
-MD5 (gcc-4.4.2.tar.bz2) = 70f5ac588a79e3c9901d5b34f58d896d
-SHA256 (gcc-4.4.2.tar.bz2) = 1126b6a7b585b3a178bfb7d559221779eb7eba12ce01bc9ca5896f6f9ee639de
-SIZE (gcc-4.4.2.tar.bz2) = 62919816
-MD5 (newlib-1.17.0.tar.gz) = 9c345928b4f600a211ddc5a6072f8337
-SHA256 (newlib-1.17.0.tar.gz) = b7c8135f7dbff0269436da26917d9f01fe33f4da0f37c07c3f55066cba80274e
-SIZE (newlib-1.17.0.tar.gz) = 12768253
-MD5 (gcc-core-4.4.2-rtems4.10-20091015.diff) = c49d2d88ccb324d1715044eb7a139d22
-SHA256 (gcc-core-4.4.2-rtems4.10-20091015.diff) = 2215de3ef25fd27d5e83bd6e7a07b892e8df6b91a94cd6dfe19926da7f2a036d
-SIZE (gcc-core-4.4.2-rtems4.10-20091015.diff) = 131178
-MD5 (newlib-1.17.0-rtems4.10-20091009.diff) = e8d383370cccbb75ddc0f123dbc6b845
-SHA256 (newlib-1.17.0-rtems4.10-20091009.diff) = 512fb5cbfe81911d53466302d127570e3c8537f3260a5321d0961eae20c1aa56
-SIZE (newlib-1.17.0-rtems4.10-20091009.diff) = 48654
+SHA256 (gcc-4.5.2.tar.bz2) = 1d9362275ffd9d19fd41f1c3dae0805d6e3991c4d5aa80851f2eaf1bbaa21f88
+SIZE (gcc-4.5.2.tar.bz2) = 66328720
+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 (newlib-1.19.0-rtems4.11-20110109.diff) = 8019d82e64cde4dd33c59ff49c31dac75391fdfebf003a20155113b5616976fd
+SIZE (newlib-1.19.0-rtems4.11-20110109.diff) = 74293