pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross Move binutils to cross-binutils to make PKGNAME ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e785b98b1539
branches:  trunk
changeset: 348831:e785b98b1539
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 19 16:18:27 2016 +0000

description:
Move binutils to cross-binutils to make PKGNAME match directory name.

Convert away from USE_CROSSBASE to plain ${PREFIX}/cross.

diffstat:

 cross/binutils/DESCR                                       |     3 -
 cross/binutils/Makefile                                    |    85 -
 cross/binutils/PLIST                                       |  2236 ------------
 cross/binutils/buildlink3.mk                               |    12 -
 cross/binutils/distinfo                                    |    10 -
 cross/binutils/files/cross-env                             |    61 -
 cross/binutils/patches/patch-aa                            |    31 -
 cross/binutils/patches/patch-af                            |    13 -
 cross/binutils/patches/patch-ld_emultempl_sh64elf.em       |     9 -
 cross/binutils/patches/patch-opcodes_cgen-ops.h            |    35 -
 cross/cross-binutils/DESCR                                 |     3 +
 cross/cross-binutils/Makefile                              |    85 +
 cross/cross-binutils/PLIST                                 |  2234 +++++++++++
 cross/cross-binutils/buildlink3.mk                         |    12 +
 cross/cross-binutils/distinfo                              |    10 +
 cross/cross-binutils/files/cross-env                       |    61 +
 cross/cross-binutils/patches/patch-aa                      |    31 +
 cross/cross-binutils/patches/patch-af                      |    13 +
 cross/cross-binutils/patches/patch-ld_emultempl_sh64elf.em |     9 +
 cross/cross-binutils/patches/patch-opcodes_cgen-ops.h      |    35 +
 20 files changed, 2493 insertions(+), 2495 deletions(-)

diffs (truncated from 5068 to 300 lines):

diff -r eb27f4d1192f -r e785b98b1539 cross/binutils/DESCR
--- a/cross/binutils/DESCR      Sun Jun 19 16:16:57 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-The cross-binutils pkg is used only by the other `cross' pkgs.  The
-binutils provides various binary manipulation utilities as well as the GNU
-linker.  (The assembler is bundled with each individual cross pkg.)
diff -r eb27f4d1192f -r e785b98b1539 cross/binutils/Makefile
--- a/cross/binutils/Makefile   Sun Jun 19 16:16:57 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,85 +0,0 @@
-# $NetBSD: Makefile,v 1.56 2013/05/31 12:39:46 wiz Exp $
-#
-# GNU binutils configured to hold `as many targets as the cross system is
-# capable of using'.  Configures and builds everything except gas, which
-# gets built at cross-pkg build time (it's target specific).
-
-DISTNAME=              binutils-2.17
-PKGREVISION=           2
-PKGNAME=               cross-binutils-2.17.0.0
-CATEGORIES=            cross lang
-MASTER_SITES=          ${MASTER_SITE_GNU:=binutils/}
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www.gnu.org/
-COMMENT=               Unified GNU binutils for cross build environments
-LICENSE=               gnu-gpl-v2 AND gnu-lgpl-v2
-
-BUILDLINK_TRANSFORM+=  rm:-Werror
-
-USE_CROSSBASE=         yes
-USE_TOOLS+=            gm4 pod2man yacc
-USE_LIBTOOL=           yes
-
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --with-windres
-CONFIGURE_ARGS+=       --enable-64-bit-bfd
-CONFIGURE_ARGS+=       --enable-targets=all
-
-# Ensure that --host is not included as default
-CONFIGURE_ARGS+=       --target=i386-linux
-
-MAKE_ARGS+=            CFLAGS="${CFLAGS}"
-BUILD_TARGET=          all-binutils all-ld
-
-PLIST_SUBST+=          LOCALBASE=${LOCALBASE:Q}
-
-BINDIR=                        ${PREFIX}/libexec/binutils
-
-# Prevent the need to run texi2pod.pl and pod2man hence
-# the need for perl as build dependency.
-post-patch:
-.for _file_ in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi gas/doc/as.1
-       if [ -f ${WRKSRC}/${_file_} ]; then                             \
-               ${TOUCH} ${WRKSRC}/${_file_};                           \
-       fi
-.endfor
-       ${RM} -rf ${WRKSRC}/etc ${WRKSRC}/gas
-
-# we use MKDIR, not INSTALL_PROGRAM_DIR, deliberately.
-do-install:
-       ${MKDIR} ${DESTDIR}${BINDIR} ${DESTDIR}${PREFIX}/lib/ldscripts ${DESTDIR}${PREFIX}/include
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/addr2line ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ar ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/coffdump ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/cxxfilt ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nlmconv ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nm-new ${DESTDIR}${BINDIR}/nm
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objcopy ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objdump ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ranlib ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/readelf ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/size ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/srconv ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strings ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strip-new ${DESTDIR}${BINDIR}/strip
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/sysdump ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/sysinfo ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/windres ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/ld/ld-new ${DESTDIR}${BINDIR}/ld
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nlmconv ${DESTDIR}${BINDIR}
-       libtool --mode=install ${INSTALL_DATA} ${WRKSRC}/bfd/libbfd.la ${DESTDIR}${PREFIX}/lib
-       libtool --mode=install ${INSTALL_DATA} ${WRKSRC}/intl/libintl.a ${DESTDIR}${PREFIX}/lib
-       libtool --mode=install ${INSTALL_DATA} ${WRKSRC}/opcodes/libopcodes.la ${DESTDIR}${PREFIX}/lib
-       libtool --mode=install ${INSTALL_DATA} ${WRKSRC}/libiberty/libiberty.a ${DESTDIR}${PREFIX}/lib
-       ${INSTALL_DATA} ${WRKSRC}/include/ansidecl.h ${DESTDIR}${PREFIX}/include
-       ${INSTALL_DATA} ${WRKSRC}/include/symcat.h ${DESTDIR}${PREFIX}/include
-       ${INSTALL_DATA} ${WRKSRC}/bfd/bfd.h ${DESTDIR}${PREFIX}/include
-       for f in ${WRKSRC}/ld/ldscripts/*; do ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/lib/ldscripts; done
-       ${INSTALL_SCRIPT} ${WRKSRC}/cross-env ${DESTDIR}${BINDIR}
-
-post-build:
-       ${SED} -e 's|@@PREFIX@@|${PREFIX}|' < ${FILESDIR}/cross-env > \
-               ${WRKSRC}/cross-env
-
-.include "../../mk/bsd.pkg.mk"
diff -r eb27f4d1192f -r e785b98b1539 cross/binutils/PLIST
--- a/cross/binutils/PLIST      Sun Jun 19 16:16:57 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2236 +0,0 @@
-@comment $NetBSD: PLIST,v 1.10 2009/06/14 18:34:00 joerg Exp $
-include/ansidecl.h
-include/bfd.h
-include/symcat.h
-lib/ldscripts/aixppc.x
-lib/ldscripts/aixppc.xbn
-lib/ldscripts/aixppc.xn
-lib/ldscripts/aixppc.xr
-lib/ldscripts/aixppc.xu
-lib/ldscripts/aixrs6.x
-lib/ldscripts/aixrs6.xbn
-lib/ldscripts/aixrs6.xn
-lib/ldscripts/aixrs6.xr
-lib/ldscripts/aixrs6.xu
-lib/ldscripts/alpha.x
-lib/ldscripts/alpha.xbn
-lib/ldscripts/alpha.xn
-lib/ldscripts/alpha.xr
-lib/ldscripts/alpha.xu
-lib/ldscripts/arcelf.x
-lib/ldscripts/arcelf.xbn
-lib/ldscripts/arcelf.xc
-lib/ldscripts/arcelf.xn
-lib/ldscripts/arcelf.xr
-lib/ldscripts/arcelf.xu
-lib/ldscripts/arcelf.xw
-lib/ldscripts/arm_epoc_pe.x
-lib/ldscripts/arm_epoc_pe.xbn
-lib/ldscripts/arm_epoc_pe.xn
-lib/ldscripts/arm_epoc_pe.xr
-lib/ldscripts/arm_epoc_pe.xu
-lib/ldscripts/armaoutb.x
-lib/ldscripts/armaoutb.xbn
-lib/ldscripts/armaoutb.xn
-lib/ldscripts/armaoutb.xr
-lib/ldscripts/armaoutb.xu
-lib/ldscripts/armaoutl.x
-lib/ldscripts/armaoutl.xbn
-lib/ldscripts/armaoutl.xn
-lib/ldscripts/armaoutl.xr
-lib/ldscripts/armaoutl.xu
-lib/ldscripts/armcoff.x
-lib/ldscripts/armcoff.xbn
-lib/ldscripts/armcoff.xn
-lib/ldscripts/armcoff.xr
-lib/ldscripts/armcoff.xu
-lib/ldscripts/armelf.x
-lib/ldscripts/armelf.xbn
-lib/ldscripts/armelf.xc
-lib/ldscripts/armelf.xn
-lib/ldscripts/armelf.xr
-lib/ldscripts/armelf.xs
-lib/ldscripts/armelf.xsc
-lib/ldscripts/armelf.xsw
-lib/ldscripts/armelf.xu
-lib/ldscripts/armelf.xw
-lib/ldscripts/armelf_fbsd.x
-lib/ldscripts/armelf_fbsd.xbn
-lib/ldscripts/armelf_fbsd.xc
-lib/ldscripts/armelf_fbsd.xn
-lib/ldscripts/armelf_fbsd.xr
-lib/ldscripts/armelf_fbsd.xs
-lib/ldscripts/armelf_fbsd.xsc
-lib/ldscripts/armelf_fbsd.xsw
-lib/ldscripts/armelf_fbsd.xu
-lib/ldscripts/armelf_fbsd.xw
-lib/ldscripts/armelf_linux.x
-lib/ldscripts/armelf_linux.xbn
-lib/ldscripts/armelf_linux.xc
-lib/ldscripts/armelf_linux.xd
-lib/ldscripts/armelf_linux.xdc
-lib/ldscripts/armelf_linux.xdw
-lib/ldscripts/armelf_linux.xn
-lib/ldscripts/armelf_linux.xr
-lib/ldscripts/armelf_linux.xs
-lib/ldscripts/armelf_linux.xsc
-lib/ldscripts/armelf_linux.xsw
-lib/ldscripts/armelf_linux.xu
-lib/ldscripts/armelf_linux.xw
-lib/ldscripts/armelf_linux_eabi.x
-lib/ldscripts/armelf_linux_eabi.xbn
-lib/ldscripts/armelf_linux_eabi.xc
-lib/ldscripts/armelf_linux_eabi.xd
-lib/ldscripts/armelf_linux_eabi.xdc
-lib/ldscripts/armelf_linux_eabi.xdw
-lib/ldscripts/armelf_linux_eabi.xn
-lib/ldscripts/armelf_linux_eabi.xr
-lib/ldscripts/armelf_linux_eabi.xs
-lib/ldscripts/armelf_linux_eabi.xsc
-lib/ldscripts/armelf_linux_eabi.xsw
-lib/ldscripts/armelf_linux_eabi.xu
-lib/ldscripts/armelf_linux_eabi.xw
-lib/ldscripts/armelf_nbsd.x
-lib/ldscripts/armelf_nbsd.xbn
-lib/ldscripts/armelf_nbsd.xc
-lib/ldscripts/armelf_nbsd.xn
-lib/ldscripts/armelf_nbsd.xr
-lib/ldscripts/armelf_nbsd.xs
-lib/ldscripts/armelf_nbsd.xsc
-lib/ldscripts/armelf_nbsd.xsw
-lib/ldscripts/armelf_nbsd.xu
-lib/ldscripts/armelf_nbsd.xw
-lib/ldscripts/armelf_vxworks.x
-lib/ldscripts/armelf_vxworks.xbn
-lib/ldscripts/armelf_vxworks.xc
-lib/ldscripts/armelf_vxworks.xn
-lib/ldscripts/armelf_vxworks.xr
-lib/ldscripts/armelf_vxworks.xs
-lib/ldscripts/armelf_vxworks.xsc
-lib/ldscripts/armelf_vxworks.xsw
-lib/ldscripts/armelf_vxworks.xu
-lib/ldscripts/armelf_vxworks.xw
-lib/ldscripts/armelfb.x
-lib/ldscripts/armelfb.xbn
-lib/ldscripts/armelfb.xc
-lib/ldscripts/armelfb.xn
-lib/ldscripts/armelfb.xr
-lib/ldscripts/armelfb.xs
-lib/ldscripts/armelfb.xsc
-lib/ldscripts/armelfb.xsw
-lib/ldscripts/armelfb.xu
-lib/ldscripts/armelfb.xw
-lib/ldscripts/armelfb_linux.x
-lib/ldscripts/armelfb_linux.xbn
-lib/ldscripts/armelfb_linux.xc
-lib/ldscripts/armelfb_linux.xd
-lib/ldscripts/armelfb_linux.xdc
-lib/ldscripts/armelfb_linux.xdw
-lib/ldscripts/armelfb_linux.xn
-lib/ldscripts/armelfb_linux.xr
-lib/ldscripts/armelfb_linux.xs
-lib/ldscripts/armelfb_linux.xsc
-lib/ldscripts/armelfb_linux.xsw
-lib/ldscripts/armelfb_linux.xu
-lib/ldscripts/armelfb_linux.xw
-lib/ldscripts/armelfb_linux_eabi.x
-lib/ldscripts/armelfb_linux_eabi.xbn
-lib/ldscripts/armelfb_linux_eabi.xc
-lib/ldscripts/armelfb_linux_eabi.xd
-lib/ldscripts/armelfb_linux_eabi.xdc
-lib/ldscripts/armelfb_linux_eabi.xdw
-lib/ldscripts/armelfb_linux_eabi.xn
-lib/ldscripts/armelfb_linux_eabi.xr
-lib/ldscripts/armelfb_linux_eabi.xs
-lib/ldscripts/armelfb_linux_eabi.xsc
-lib/ldscripts/armelfb_linux_eabi.xsw
-lib/ldscripts/armelfb_linux_eabi.xu
-lib/ldscripts/armelfb_linux_eabi.xw
-lib/ldscripts/armelfb_nbsd.x
-lib/ldscripts/armelfb_nbsd.xbn
-lib/ldscripts/armelfb_nbsd.xc
-lib/ldscripts/armelfb_nbsd.xn
-lib/ldscripts/armelfb_nbsd.xr
-lib/ldscripts/armelfb_nbsd.xs
-lib/ldscripts/armelfb_nbsd.xsc
-lib/ldscripts/armelfb_nbsd.xsw
-lib/ldscripts/armelfb_nbsd.xu
-lib/ldscripts/armelfb_nbsd.xw
-lib/ldscripts/armnbsd.x
-lib/ldscripts/armnbsd.xbn
-lib/ldscripts/armnbsd.xn
-lib/ldscripts/armnbsd.xr
-lib/ldscripts/armnbsd.xu
-lib/ldscripts/armnto.x
-lib/ldscripts/armnto.xbn
-lib/ldscripts/armnto.xc
-lib/ldscripts/armnto.xn
-lib/ldscripts/armnto.xr
-lib/ldscripts/armnto.xs
-lib/ldscripts/armnto.xsc
-lib/ldscripts/armnto.xsw
-lib/ldscripts/armnto.xu
-lib/ldscripts/armnto.xw
-lib/ldscripts/armpe.x
-lib/ldscripts/armpe.xbn
-lib/ldscripts/armpe.xn
-lib/ldscripts/armpe.xr
-lib/ldscripts/armpe.xu
-lib/ldscripts/armsymbian.x
-lib/ldscripts/armsymbian.xbn
-lib/ldscripts/armsymbian.xc
-lib/ldscripts/armsymbian.xn
-lib/ldscripts/armsymbian.xr
-lib/ldscripts/armsymbian.xs
-lib/ldscripts/armsymbian.xsc
-lib/ldscripts/armsymbian.xsw
-lib/ldscripts/armsymbian.xu
-lib/ldscripts/armsymbian.xw
-lib/ldscripts/avr1.x
-lib/ldscripts/avr1.xbn
-lib/ldscripts/avr1.xn
-lib/ldscripts/avr1.xr
-lib/ldscripts/avr1.xu
-lib/ldscripts/avr2.x
-lib/ldscripts/avr2.xbn
-lib/ldscripts/avr2.xn
-lib/ldscripts/avr2.xr
-lib/ldscripts/avr2.xu
-lib/ldscripts/avr3.x
-lib/ldscripts/avr3.xbn



Home | Main Index | Thread Index | Old Index