svn commit: r321747 - in head/devel/binutils: . files
Niclas Zeising
zeising at FreeBSD.org
Tue Jun 25 14:55:38 UTC 2013
Author: zeising
Date: Tue Jun 25 14:55:37 2013
New Revision: 321747
URL: http://svnweb.freebsd.org/changeset/ports/321747
Log:
Update to 2.23.2
Add upstream patch to make it possible to build gcc on sparc64 [1]
Fix CONFIGURE_TARGET to do the right thing, previously the binutils build
could fail on amd64 when built as a dependency of for instance gcc. [2]
PR: ports/179291 [1]
Submitted by: Michael Moll <kvedulv at kvedulv.de> (PR) [1]
Reported by: kwm and dim [2]
Added:
head/devel/binutils/files/patch-src_gas_config_tc-sparc.h (contents, props changed)
Modified:
head/devel/binutils/Makefile
head/devel/binutils/distinfo
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Tue Jun 25 14:37:12 2013 (r321746)
+++ head/devel/binutils/Makefile Tue Jun 25 14:55:37 2013 (r321747)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= binutils
-PORTVERSION= 2.23.1
+PORTVERSION= 2.23.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
@@ -83,7 +83,9 @@ PLIST_SUB+= NLS="@comment "
.endif
.if ${ARCH} == "amd64"
-ARCH= x86_64
+CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
+.else
+CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
post-install:
Modified: head/devel/binutils/distinfo
==============================================================================
--- head/devel/binutils/distinfo Tue Jun 25 14:37:12 2013 (r321746)
+++ head/devel/binutils/distinfo Tue Jun 25 14:55:37 2013 (r321747)
@@ -1,2 +1,2 @@
-SHA256 (binutils-2.23.1.tar.bz2) = 2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19
-SIZE (binutils-2.23.1.tar.bz2) = 21455321
+SHA256 (binutils-2.23.2.tar.bz2) = fe914e56fed7a9ec2eb45274b1f2e14b0d8b4f41906a5194eac6883cfe5c1097
+SIZE (binutils-2.23.2.tar.bz2) = 21440347
Added: head/devel/binutils/files/patch-src_gas_config_tc-sparc.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/binutils/files/patch-src_gas_config_tc-sparc.h Tue Jun 25 14:55:37 2013 (r321747)
@@ -0,0 +1,16 @@
+===================================================================
+RCS file: gas/config/tc-sparc.h,v
+retrieving revision 1.31
+retrieving revision 1.32
+diff -u -r1.31 -r1.32
+--- gas/config/tc-sparc.h 2010/10/22 12:08:29 1.31
++++ gas/config/tc-sparc.h 2013/03/26 13:49:12 1.32
+@@ -33,7 +33,7 @@
+ #define TARGET_ARCH bfd_arch_sparc
+
+ #ifdef TE_FreeBSD
+-#define ELF_TARGET_FORMAT "elf32-sparc-freebsd"
++#define ELF_TARGET_FORMAT "elf32-sparc"
+ #define ELF64_TARGET_FORMAT "elf64-sparc-freebsd"
+ #endif
+
More information about the svn-ports-head
mailing list