pkgsrc/devel/binutils/Makefile

63 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2011/08/22 08:51:46 wiz Exp $
DISTNAME= binutils-2.17
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://directory.fsf.org/project/binutils/
COMMENT= GNU binary utilities
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
2008-06-20 03:09:05 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= avr-binutils<2.13.2.1nb1
NOT_FOR_PLATFORM= Darwin-*-* Interix-*-*
USE_PKGLOCALEDIR= yes
2005-03-17 23:49:09 +01:00
REPLACE_LOCALEDIR_PATTERNS+= Make-in
Update to binutils "2.14.0.0". (The ".0.0" is to allow any PKGREVISION bumps to correctly sort before "2.14.1", and "2.14.1.1", and so on.) Follows is a list of additions to the "NEWS" files since 2.13. The "NEWS" files were apparently not updated for "2.13.2.1" however, so all of this is not really new. The "--with-sysroot" and "--with-lib-path" configure options for "ld" are truly new, though, and the package now takes advantage of "--with-lib-path" to prevent picking up crud from "${PREFIX}/lib", to better support using this "ld" with which to build pkgsrc packages. ----- binutils/binutils/NEWS ----- * Added --info switch to objcopy and strip. * Support for Vitesse IQ2000 added by Red Hat. * Added 'S' encoding to strings to allow the display of 8-bit characters. * Added --prefix-symbols=<text>, --prefix-sections=<text> and --prefix-alloc-sections=<text> to objcopy. * readelf can handle the extensions to the DWARF2 spec used by the Unified Parallel C compiler. * BFD no longer declares a "boolean" type, to avoid clashes with other headers that declare the same. Users of BFD should replace boolean, false and true, with int, 0 and 1, or define their own boolean type. * Support for IP2K added by Denis Chertykov. ----- binutils/gas/NEWS ----- * Added support for MIPS32 Release 2. * Added support for Xtensa architecture. * Support for Intel's iWMMXt processor (an ARM variant) added. * An assembler test generator has been contributed and an example file that uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c). * Support for SH2E added. * GASP has now been removed. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. * Support for the Ubicom IP2xxx microcontroller added. ----- binutils/ld/NEWS ----- * Added support for Xtensa architecture. * Added --with-sysroot configure switch to specify a target system root, for linking against a target filesystem image. * Added --accept-unknown-linker-format to restore old linker behaviour (pre 2.14) of silently accepting and linking in any files in an unknown binary file format. * Added --no-omagic to undo the effects of the -N option. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. * Added --with-lib-path configure switch to specify default value for LIB_PATH. * ARM port to QNX operating system added by Graeme Peterson. * IP2K support added by Denis Chertykov.
2003-07-14 21:01:35 +02:00
USE_TOOLS+= makeinfo
TEXINFO_REQD= 4.0
MAKEFLAGS+= TEXINFO_LOCALE=no
GNU_CONFIGURE= yes
Update to binutils "2.14.0.0". (The ".0.0" is to allow any PKGREVISION bumps to correctly sort before "2.14.1", and "2.14.1.1", and so on.) Follows is a list of additions to the "NEWS" files since 2.13. The "NEWS" files were apparently not updated for "2.13.2.1" however, so all of this is not really new. The "--with-sysroot" and "--with-lib-path" configure options for "ld" are truly new, though, and the package now takes advantage of "--with-lib-path" to prevent picking up crud from "${PREFIX}/lib", to better support using this "ld" with which to build pkgsrc packages. ----- binutils/binutils/NEWS ----- * Added --info switch to objcopy and strip. * Support for Vitesse IQ2000 added by Red Hat. * Added 'S' encoding to strings to allow the display of 8-bit characters. * Added --prefix-symbols=<text>, --prefix-sections=<text> and --prefix-alloc-sections=<text> to objcopy. * readelf can handle the extensions to the DWARF2 spec used by the Unified Parallel C compiler. * BFD no longer declares a "boolean" type, to avoid clashes with other headers that declare the same. Users of BFD should replace boolean, false and true, with int, 0 and 1, or define their own boolean type. * Support for IP2K added by Denis Chertykov. ----- binutils/gas/NEWS ----- * Added support for MIPS32 Release 2. * Added support for Xtensa architecture. * Support for Intel's iWMMXt processor (an ARM variant) added. * An assembler test generator has been contributed and an example file that uses it (gas/testsuite/gas/all/test-gen.c and test-exmaple.c). * Support for SH2E added. * GASP has now been removed. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. * Support for the Ubicom IP2xxx microcontroller added. ----- binutils/ld/NEWS ----- * Added support for Xtensa architecture. * Added --with-sysroot configure switch to specify a target system root, for linking against a target filesystem image. * Added --accept-unknown-linker-format to restore old linker behaviour (pre 2.14) of silently accepting and linking in any files in an unknown binary file format. * Added --no-omagic to undo the effects of the -N option. * Support for Texas Instruments TMS320C4x and TMS320C3x series of DSP's contributed by Michael Hayes and Svein E. Seldal. * Added --with-lib-path configure switch to specify default value for LIB_PATH. * ARM port to QNX operating system added by Graeme Peterson. * IP2K support added by Denis Chertykov.
2003-07-14 21:01:35 +02:00
CONFIGURE_ARGS+= --with-lib-path='/lib:/usr/lib'
GNU_PROGRAM_PREFIX?= gnu-
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
BINUTILS_PREFIX= ${PREFIX}/${MACHINE_GNU_PLATFORM}
2002-12-25 17:53:51 +01:00
PLIST_SRC= ${PKGDIR}/PLIST.common
PLIST_SRC+= ${WRKDIR}/PLIST_DYNAMIC
INFO_FILES= yes
# gprof (XXX: and others?) cannot be built on all platforms
#
PLIST_VARS+= gprof
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "IRIX"
PLIST.gprof= yes
.endif
# Prevent the need to run texi2pod.pl and pod2man hence
# the need for perl as build dependency.
#
post-configure:
.for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi gas/doc/as.1
if [ -f ${WRKSRC}/${f} ]; then \
touch ${WRKSRC}/${f}; \
fi
.endfor
post-install:
2008-06-20 03:09:05 +02:00
cd ${DESTDIR}${PREFIX} && find ${MACHINE_GNU_PLATFORM}/lib/ldscripts -type f -print \
| sort -r \
> ${WRKDIR}/PLIST_DYNAMIC
.include "../../mk/bsd.pkg.mk"