diff options
author | James P. Harvey | 2018-10-12 03:10:04 -0400 |
---|---|---|
committer | James P. Harvey | 2018-10-12 23:40:21 -0400 |
commit | cafe1025965dd8122b5392f9522e0d538b1dad74 (patch) | |
tree | 3c4a888d11b505c66994d3d7222c7b48853809c8 | |
parent | 52e3753ee9ea44b1fbd8518452a14dcac802b3f3 (diff) | |
download | aur-cafe1025965dd8122b5392f9522e0d538b1dad74.tar.gz |
Mirrored core's changes from 2.28.0-4 to 2.29.0-1
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 23 insertions, 26 deletions
@@ -1,6 +1,6 @@ pkgbase = binutils-git pkgdesc = A set of programs to assemble and manipulate binary and object files (git master developmental version) - pkgver = 2.28.r89982.ad36c6ce7c + pkgver = 2.29.r91268.dd66b39984 pkgrel = 1 url = http://www.gnu.org/software/binutils/ arch = i686 @@ -10,12 +10,11 @@ pkgbase = binutils-git checkdepends = dejagnu checkdepends = bc makedepends = git - depends = glibc>=2.25 + depends = glibc>=2.26 depends = zlib provides = binutils=${pkgver} conflicts = binutils-multilib conflicts = binutils - replaces = binutils-multilib options = staticlibs options = !distcc options = !ccache @@ -7,7 +7,7 @@ # Modifications to Use Git Master Source # ====================================== # Maintainer: James Harvey <jamespharvey20 at gmail dot com> -# * This PKGFILE as closely as possible matches core's binutils 2.28.0-4 +# * This PKGFILE as closely as possible matches core's binutils 2.29.0-1 # * All namcap warnings and errors are identical, other than: # * Warning zlib is no longer a dependency # * Siding with caution, leaving it as a dependency @@ -18,20 +18,19 @@ pkgname=binutils-git _pkgname=binutils-gdb -pkgver=2.28.r89982.ad36c6ce7c +pkgver=2.29.r91268.dd66b39984 pkgrel=1 -pkgdesc="A set of programs to assemble and manipulate binary and object files (git master developmental version)" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/binutils/" -license=('GPL') +pkgdesc='A set of programs to assemble and manipulate binary and object files (git master developmental version)' +arch=(i686 x86_64) +url='http://www.gnu.org/software/binutils/' +license=(GPL) groups=('base-devel') -depends=('glibc>=2.25' 'zlib') -makedepends=('git') -checkdepends=('dejagnu' 'bc') +depends=('glibc>=2.26' zlib) +makedepends=(git) +checkdepends=(dejagnu bc) provides=('binutils=${pkgver}') -conflicts=('binutils-multilib' 'binutils') -replaces=('binutils-multilib') -options=('staticlibs' '!distcc' '!ccache') +conflicts=(binutils-multilib binutils) +options=(staticlibs !distcc !ccache) source=(git+https://sourceware.org/git/binutils-gdb.git) md5sums=('SKIP') @@ -41,18 +40,18 @@ pkgver() { } prepare() { + mkdir -p binutils-build + cd binutils-gdb # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure - - mkdir ${srcdir}/binutils-build } build() { cd binutils-build - ../binutils-gdb/configure \ + "$srcdir/binutils-gdb/configure" \ --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ @@ -65,11 +64,10 @@ build() { --enable-deterministic-archives \ --with-pic \ --disable-werror \ - --disable-gdb + --disable-gdb \ + --with-system-zlib - # check the host environment and makes sure all the necessary tools are available make configure-host - make tooldir=/usr } @@ -83,13 +81,13 @@ check() { package() { cd binutils-build - make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install + make prefix="$pkgdir/usr" tooldir="$pkgdir/usr" install # Remove unwanted files - rm ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* + rm -f "$pkgdir"/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* # No shared linking to these files outside binutils - rm ${pkgdir}/usr/lib/lib{bfd,opcodes}.so - echo "INPUT ( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir"/usr/lib/libbfd.so - echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir"/usr/lib/libopcodes.so + rm -f "$pkgdir"/usr/lib/lib{bfd,opcodes}.so + echo "INPUT( /usr/lib/libbfd.a -liberty -lz -ldl )" > "$pkgdir/usr/lib/libbfd.so" + echo "INPUT( /usr/lib/libopcodes.a -lbfd )" > "$pkgdir/usr/lib/libopcodes.so" } |