summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-03-04 01:37:58 +0000
committerpsykose <alice@ayaya.dev>2023-03-04 02:38:06 +0100
commit5553ee381cefaef798efec1bd7035b10c6444b81 (patch)
treee857fdd32004234135445b2ee3ff2b8ef126cbdc /main
parentb7da982283ce7f73eeeea25ba3c18f5108aca3f1 (diff)
downloadaports-5553ee381cefaef798efec1bd7035b10c6444b81.zip
main/binutils: use xz source, cleanup
Diffstat (limited to 'main')
-rw-r--r--main/binutils/APKBUILD20
1 files changed, 5 insertions, 15 deletions
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index 0ef6274ba63..b6bb1f6411e 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=binutils
pkgver=2.40
-pkgrel=2
+pkgrel=3
pkgdesc="Tools necessary to build programs"
url="https://www.gnu.org/software/binutils/"
makedepends_build="bison flex texinfo"
@@ -11,7 +11,7 @@ makedepends="$makedepends_build $makedepends_host"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2
+source="https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz
binutils-ld-fix-static-linking.patch
0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch
"
@@ -101,7 +101,6 @@ build() {
$_cross_configure \
$_arch_configure \
--enable-default-hash-style=gnu \
- $_hash_style_configure \
$no_textrels \
--with-pic \
--disable-werror \
@@ -126,26 +125,17 @@ package() {
fi
}
-libs() {
- pkgdesc="Runtime libraries from binutils - libbfd and libopcodes"
-
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/lib*.so "$subpkgdir"/usr/lib/
-}
-
gold() {
pkgdesc="GNU binutils - gold linker"
if [ -e "$pkgdir"/usr/bin/ld.gold ]; then
- mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/ld.gold "$subpkgdir"/usr/bin
+ amove usr/bin/ld.gold
fi
- mkdir -p "$subpkgdir"/usr/$CTARGET/bin
- mv "$pkgdir"/usr/$CTARGET/bin/ld.gold "$subpkgdir"/usr/$CTARGET/bin/ld.gold
+ amove usr/$CTARGET/bin/ld.gold
}
sha512sums="
-30256362945184329c994730f60d8493292547e0e5de5f49d57490d8d9b1a0a18393bf7f70934ba5061ee2001ec4cbf5f206d310df9512a7fb3625a362e358f9 binutils-2.40.tar.bz2
+a37e042523bc46494d99d5637c3f3d8f9956d9477b748b3b1f6d7dfbb8d968ed52c932e88a4e946c6f77b8f48f1e1b360ca54c3d298f17193f3b4963472f6925 binutils-2.40.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
70ec22bd72ef6dddecfd970613387dd4a8cdc8730dd3cbf03d5a0c3a7c4d839383167bb06dad21bf7c235329fd44b5dc4aefe762f68544f17155cf002bf1be4a 0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch
"