From owner-svn-ports-head@FreeBSD.ORG Sat Apr 27 18:19:58 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E42AA615; Sat, 27 Apr 2013 18:19:58 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C666514A6; Sat, 27 Apr 2013 18:19:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3RIJwdK002608; Sat, 27 Apr 2013 18:19:58 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3RIJwvk002606; Sat, 27 Apr 2013 18:19:58 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201304271819.r3RIJwvk002606@svn.freebsd.org> From: Chris Rees Date: Sat, 27 Apr 2013 18:19:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316682 - head/devel/cross-binutils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Apr 2013 18:19:59 -0000 Author: crees Date: Sat Apr 27 18:19:58 2013 New Revision: 316682 URL: http://svnweb.freebsd.org/changeset/ports/316682 Log: devel/cross-binutils: Fix and update to 2.23.2 - For mips no gprof was built, so installing failed. - Building failed for ppc in version 2.21. - Add an option for the switch WITH_RTEMS_PATCHES Christoph has also valiantly agreed to be set as MAINTAINER. PR: ports/177851 Submitted by: Christoph Mallon Modified: head/devel/cross-binutils/Makefile head/devel/cross-binutils/distinfo Modified: head/devel/cross-binutils/Makefile ============================================================================== --- head/devel/cross-binutils/Makefile Sat Apr 27 18:15:50 2013 (r316681) +++ head/devel/cross-binutils/Makefile Sat Apr 27 18:19:58 2013 (r316682) @@ -1,12 +1,10 @@ -# New ports collection makefile for: cross-binutils -# Date created: 8 August 2006 -# Whom: Stanislav Sedov -# +TGTARCH= i386 +TGTABI= elf +# Created by: Stanislav Sedov # $FreeBSD$ -# PORTNAME= binutils -PORTVERSION= 2.21 +PORTVERSION= 2.23.2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} MASTER_SITE_SUBDIR= binutils/releases @@ -15,7 +13,7 @@ PKGNAMEPREFIX= ${TGTARCH}-${TGTABI}- PATCH_SITES= ftp://ftp.rtems.com/pub/rtems/SOURCES/4.11/ PATCH_DIST_STRIP= -p1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= christoph.mallon@gmx.de COMMENT= GNU binutils port for cross-target development USE_BZIP2= yes @@ -24,6 +22,12 @@ GNU_CONFIGURE= yes ALL_TARGET= all info MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= RTEMS_PATCHES + +RTEMS_PATCHES_DESC= Apply RTEMS patches + +.include + CONFIGURE_ARGS+= --disable-nls \ --with-system-zlib \ --target=${OURTARGET} \ @@ -36,7 +40,6 @@ MAN1= ${OURTARGET}-addr2line.1 \ ${OURTARGET}-as.1 \ ${OURTARGET}-c++filt.1 \ ${OURTARGET}-elfedit.1 \ - ${OURTARGET}-gprof.1 \ ${OURTARGET}-dlltool.1 \ ${OURTARGET}-ld.1 \ ${OURTARGET}-nlmconv.1 \ @@ -54,15 +57,15 @@ MAN1= ${OURTARGET}-addr2line.1 \ INFO= ${OURTARGET}-as \ ${OURTARGET}-bfd \ ${OURTARGET}-binutils \ - ${OURTARGET}-gprof \ - ${OURTARGET}-ld + ${OURTARGET}-ld \ + configure \ + standards PLIST_FILES= bin/${OURTARGET}-addr2line \ bin/${OURTARGET}-ar \ bin/${OURTARGET}-as \ bin/${OURTARGET}-c++filt \ bin/${OURTARGET}-elfedit \ - bin/${OURTARGET}-gprof \ bin/${OURTARGET}-ld \ bin/${OURTARGET}-ld.bfd \ bin/${OURTARGET}-nm \ @@ -74,24 +77,27 @@ PLIST_FILES= bin/${OURTARGET}-addr2line bin/${OURTARGET}-strings \ bin/${OURTARGET}-strip -.if defined(TGTABI) && (${TGTABI} == "pc-mingw32" || ${TGTABI} == "mingw32") +.if defined(TGTARCH) && ${TGTARCH} != mips +MAN1+= ${OURTARGET}-gprof.1 +INFO+= ${OURTARGET}-gprof +PLIST_FILES+= bin/${OURTARGET}-gprof +.endif + +.if defined(TGTABI) && (${TGTABI} == pc-mingw32 || ${TGTABI} == mingw32) PLIST_FILES+= bin/${OURTARGET}-dlltool \ bin/${OURTARGET}-dllwrap \ bin/${OURTARGET}-windmc \ bin/${OURTARGET}-windres .endif -.if defined(WITH_RTEMS_PATCHES) -PATCHFILES+= ${PORTNAME}-${PORTVERSION}-rtems4.11-20110107.diff +.if ${PORT_OPTIONS:MRTEMS_PATCHES} +PATCHFILES+= ${PORTNAME}-${PORTVERSION}-rtems4.11-20130326.diff .endif .if !defined(TGTARCH) || !defined(TGTABI) PKGNAMEPREFIX= cross- IGNORE= you should define TGTARCH and TGTABI to build port .endif -.if defined(TGTARCH) && (${TGTABI} == "elf" && ${TGTARCH} == "powerpc") -IGNORE= will not build with TGTARCH=powerpc and TGTABI=elf -.endif # # Macro to fix up info referencies @@ -139,8 +145,8 @@ post-patch: post-install: # -# Add some plist items (we don't list them directly, since the set vary -# accross different targets +# Add some plist items (we don't list them directly, since the set varies +# across different targets) # @${FIND} -ds ${PREFIX}/${OURTARGET} ! -type d | \ ${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST} Modified: head/devel/cross-binutils/distinfo ============================================================================== --- head/devel/cross-binutils/distinfo Sat Apr 27 18:15:50 2013 (r316681) +++ head/devel/cross-binutils/distinfo Sat Apr 27 18:19:58 2013 (r316682) @@ -1,4 +1,4 @@ -SHA256 (binutils-2.21.tar.bz2) = 60abec5bf448eb930a5a15acb8712612377dc8bcfb13dfd5131228f70561d0c7 -SIZE (binutils-2.21.tar.bz2) = 18742991 -SHA256 (binutils-2.21-rtems4.11-20110107.diff) = a57150ba5ff28aaac08624d00ff88ba3f12d54efab16094c8ec6c3ae71d6fe39 -SIZE (binutils-2.21-rtems4.11-20110107.diff) = 2276 +SHA256 (binutils-2.23.2.tar.bz2) = fe914e56fed7a9ec2eb45274b1f2e14b0d8b4f41906a5194eac6883cfe5c1097 +SIZE (binutils-2.23.2.tar.bz2) = 21440347 +SHA256 (binutils-2.23.2-rtems4.11-20130326.diff) = 806c44d2987088b9c4752a769cacff89c495366f8c3222e13fae7622a8ff662f +SIZE (binutils-2.23.2-rtems4.11-20130326.diff) = 7844