binutils: update to 2.23.52.0.2.
This commit is contained in:
parent
daf3cf3eb4
commit
a6ab2e961d
1 changed files with 10 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'binutils'
|
# Template file for 'binutils'
|
||||||
pkgname=binutils
|
pkgname=binutils
|
||||||
version=2.23.51.0.3
|
version=2.23.52.0.2
|
||||||
revision=2
|
revision=1
|
||||||
hostmakedepends="flex perl"
|
hostmakedepends="flex perl"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
short_desc="GNU binary utilities"
|
short_desc="GNU binary utilities"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/binutils/"
|
homepage="http://www.gnu.org/software/binutils/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="${KERNEL_SITE}/devel/binutils/$pkgname-$version.tar.xz"
|
distfiles="${KERNEL_SITE}/devel/binutils/$pkgname-$version.tar.xz"
|
||||||
checksum=2162905dabf191a2a803eab8d31e7be52d96d6ccd1e0ce42e25d82c6be918cd0
|
checksum=c2229d5d4067c782b67cfaf7f049acd8361407c0870991bc5430be5c548f6825
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
makedepends+=" libfl-devel"
|
makedepends+=" libfl-devel"
|
||||||
|
@ -22,7 +22,8 @@ do_configure() {
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
|
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
|
||||||
--enable-plugins --enable-secureplt --with-mmap \
|
--enable-plugins --enable-secureplt --with-mmap \
|
||||||
--enable-shared --disable-bootstrap $CONFIGFLAG
|
--enable-shared --disable-bootstrap --with-sysroot=/usr \
|
||||||
|
$CONFIGFLAG
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -46,10 +47,11 @@ do_build() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
mkdir -p ${SRCPKGDESTDIR}/usr/lib
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
cd ${SRCPKGDESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}
|
cd ${DESTDIR}/usr
|
||||||
|
ln -s lib lib64
|
||||||
|
cd ${wrksrc}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make DESTDIR=${DESTDIR} tooldir=/usr install
|
make DESTDIR=${DESTDIR} tooldir=/usr install
|
||||||
|
|
||||||
# Remove ld.bfd (hardlink) and make a symlink.
|
# Remove ld.bfd (hardlink) and make a symlink.
|
||||||
|
@ -95,7 +97,7 @@ do_install() {
|
||||||
|
|
||||||
binutils-devel_package() {
|
binutils-devel_package() {
|
||||||
depends="binutils>=$version"
|
depends="binutils>=$version"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
|
Loading…
Reference in a new issue