Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 12:36:42 +0300
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Stanislav Sedov <ssedov@mbsd.msk.ru>
Subject:   ports/94681: New port: devel/powerpc-binutils GNU binutils for PowerPC/RS6000 cross-development
Message-ID:  <20060319093642.GA7764@fonon.realnet>
Resent-Message-ID: <200603190940.k2J9eFPj074168@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94681
>Category:       ports
>Synopsis:       New port: devel/powerpc-binutils GNU binutils for PowerPC/RS6000 cross-development
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 19 09:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs http://mbsd.msk.ru
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Mar 11 00:59:33 MSK 2006 root@fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386


	
>Description:
GNU binutils for PowerPC/RS6000 cross-development.
Prerequisite for the GCC for PowerPC/RS6000 cross-compilation environment.
>How-To-Repeat:
	
>Fix:

	

--- powerpc-binutils.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	powerpc-binutils
#	powerpc-binutils/files
#	powerpc-binutils/files/patch-aa
#	powerpc-binutils/Makefile
#	powerpc-binutils/distinfo
#	powerpc-binutils/pkg-descr
#	powerpc-binutils/pkg-plist
#
echo c - powerpc-binutils
mkdir -p powerpc-binutils > /dev/null 2>&1
echo c - powerpc-binutils/files
mkdir -p powerpc-binutils/files > /dev/null 2>&1
echo x - powerpc-binutils/files/patch-aa
sed 's/^X//' >powerpc-binutils/files/patch-aa << 'END-of-powerpc-binutils/files/patch-aa'
X--- libiberty/Makefile.in.orig	Tue Mar  8 00:20:07 2005
X+++ libiberty/Makefile.in	Thu Jun 30 22:37:45 2005
X@@ -270,7 +270,8 @@
X @MAINT@	echo stamp > stamp-functions
X 
X INSTALL_DEST = @INSTALL_DEST@
X-install: install_to_$(INSTALL_DEST) install-subdir
X+#install: install_to_$(INSTALL_DEST) install-subdir
X+install:
X 
X install_to_libdir: all
X 	${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
X--- bfd/Makefile.in.orig	Mon May  2 21:45:46 2005
X+++ bfd/Makefile.in	Thu Jun 30 22:39:28 2005
X@@ -1137,7 +1137,8 @@
X 	for dir in "$(DESTDIR)$(bfdlibdir)"; do \
X 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
X 	done
X-install: install-recursive
X+#install: install-recursive
X+install:
X install-exec: install-exec-recursive
X install-data: install-data-recursive
X uninstall: uninstall-recursive
X--- opcodes/Makefile.in.orig	Mon Feb 21 12:48:33 2005
X+++ opcodes/Makefile.in	Thu Jun 30 22:39:18 2005
X@@ -781,7 +781,8 @@
X 	for dir in "$(DESTDIR)$(bfdlibdir)"; do \
X 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
X 	done
X-install: install-recursive
X+#install: install-recursive
X+install:
X install-exec: install-exec-recursive
X install-data: install-data-recursive
X uninstall: uninstall-recursive
X--- etc/Makefile.in.orig	Thu Jan  2 21:51:02 2003
X+++ etc/Makefile.in	Thu Jun 30 22:37:45 2005
X@@ -54,7 +54,8 @@
X all:
X 
X # We want install to imply install-info as per GNU standards.
X-install: install-info
X+#install: install-info
X+install:
X 
X uninstall:
X 
END-of-powerpc-binutils/files/patch-aa
echo x - powerpc-binutils/Makefile
sed 's/^X//' >powerpc-binutils/Makefile << 'END-of-powerpc-binutils/Makefile'
X# New ports collection makefile for:	powerpc-binutils
X# Date created:		9 Marth 2006
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	binutils
XPORTVERSION=	2.16.1
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEWARE}
XMASTER_SITE_SUBDIR=	binutils/releases
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	GNU binutils for PowerPC/RS6000 cross-development
X
XWRKSRC=		${WRKDIR}/binutils-${PORTVERSION}
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XNO_MTREE=	yes
X
X.if defined(WITH_ABI)
XOUR_ABI=		${WITH_ABI}
X.else
XOUR_ABI=		eabi
X.endif
X
XOUR_TARGET=		powerpc-elf-${OUR_ABI}
X
XPKGNAMEPREFIX=		${OUR_TARGET}-
XPLIST_SUB+=		TOOLPREFIX=${OUR_TARGET}
XPREFIX?=		${LOCALBASE}/${OUR_TARGET}
XCONFIGURE_ARGS=		--disable-nls \
X			--target=${OUR_TARGET} \
X			--with-system-zlib \
X			--with-libiconv-prefix=${LOCALDIR} \
X			--libdir=${PREFIX}/lib/gcc/${OUR_TARGET}
X
XMAN1=			${PKGNAMEPREFIX}addr2line.1 \
X			${PKGNAMEPREFIX}ar.1 \
X			${PKGNAMEPREFIX}as.1 \
X			${PKGNAMEPREFIX}c++filt.1 \
X			${PKGNAMEPREFIX}dlltool.1 \
X			${PKGNAMEPREFIX}ld.1 \
X			${PKGNAMEPREFIX}nlmconv.1 \
X			${PKGNAMEPREFIX}nm.1 \
X			${PKGNAMEPREFIX}objcopy.1 \
X			${PKGNAMEPREFIX}objdump.1 \
X			${PKGNAMEPREFIX}ranlib.1 \
X			${PKGNAMEPREFIX}readelf.1 \
X			${PKGNAMEPREFIX}size.1 \
X			${PKGNAMEPREFIX}strings.1 \
X			${PKGNAMEPREFIX}strip.1 \
X			${PKGNAMEPREFIX}windres.1
X
XINFO=			as binutils ld
X
XBINARIES=		addr2line ar as c++filt ld \
X			nm objcopy objdump ranlib \
X			readelf size strings strip
X
Xpost-install:
X.for F in ${BINARIES}
X	@${LN} -sf ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
X		${PREFIX}/bin/$F
X.endfor
X
X.include <bsd.port.mk>
END-of-powerpc-binutils/Makefile
echo x - powerpc-binutils/distinfo
sed 's/^X//' >powerpc-binutils/distinfo << 'END-of-powerpc-binutils/distinfo'
XMD5 (binutils-2.16.1.tar.bz2) = 6a9d529efb285071dad10e1f3d2b2967
XSHA256 (binutils-2.16.1.tar.bz2) = 351a6846ee179a37ed87a487971547159a7f4f92a1dec598c727f184a0de61ae
XSIZE (binutils-2.16.1.tar.bz2) = 12549917
END-of-powerpc-binutils/distinfo
echo x - powerpc-binutils/pkg-descr
sed 's/^X//' >powerpc-binutils/pkg-descr << 'END-of-powerpc-binutils/pkg-descr'
XGNU binutils for PowerPC/RS6000 cross-development.
X
XPrerequisite for the GCC for PowerPC/RS6000 cross-compilation environment.
X
XWWW: http://sources.redhat.com/binutils/
END-of-powerpc-binutils/pkg-descr
echo x - powerpc-binutils/pkg-plist
sed 's/^X//' >powerpc-binutils/pkg-plist << 'END-of-powerpc-binutils/pkg-plist'
Xbin/%%TOOLPREFIX%%-addr2line
Xbin/%%TOOLPREFIX%%-ar
Xbin/%%TOOLPREFIX%%-as
Xbin/%%TOOLPREFIX%%-c++filt
Xbin/%%TOOLPREFIX%%-ld
Xbin/%%TOOLPREFIX%%-nm
Xbin/%%TOOLPREFIX%%-objcopy
Xbin/%%TOOLPREFIX%%-objdump
Xbin/%%TOOLPREFIX%%-ranlib
Xbin/%%TOOLPREFIX%%-readelf
Xbin/%%TOOLPREFIX%%-size
Xbin/%%TOOLPREFIX%%-strings
Xbin/%%TOOLPREFIX%%-strip
Xbin/addr2line
Xbin/ar
Xbin/as
Xbin/c++filt
Xbin/ld
Xbin/nm
Xbin/objcopy
Xbin/objdump
Xbin/ranlib
Xbin/readelf
Xbin/size
Xbin/strings
Xbin/strip
X%%TOOLPREFIX%%/bin/ar
X%%TOOLPREFIX%%/bin/as
X%%TOOLPREFIX%%/bin/ld
X%%TOOLPREFIX%%/bin/nm
X%%TOOLPREFIX%%/bin/objdump
X%%TOOLPREFIX%%/bin/ranlib
X%%TOOLPREFIX%%/bin/strip
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.x
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xbn
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xd
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xdc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xdw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xn
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xr
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xs
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xsc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xsw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xu
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppc.xw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.x
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xbn
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xd
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xdc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xdw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xn
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xr
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xs
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xsc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xsw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xu
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppclinux.xw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.x
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xbn
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xd
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xdc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xdw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xn
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xr
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xs
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xsc
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xsw
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xu
X%%TOOLPREFIX%%/lib/ldscripts/elf32ppcsim.xw
X@dirrm %%TOOLPREFIX%%/bin
X@dirrm %%TOOLPREFIX%%/lib/ldscripts
X@dirrm %%TOOLPREFIX%%/lib
X@dirrm %%TOOLPREFIX%%
X@dirrm man/man1
X@dirrm man
X@dirrm bin
END-of-powerpc-binutils/pkg-plist
exit
--- powerpc-binutils.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060319093642.GA7764>