libunwind: fix build on ppc64 targets

This commit is contained in:
q66 2018-12-14 00:44:20 +01:00 committed by maxice8
parent 0a0b0a1f30
commit d3edfef8a0
2 changed files with 5 additions and 2 deletions

View File

@ -1282,6 +1282,7 @@ libunwind-x86.so.8 libunwind-1.1_1
libunwind-arm.so.8 libunwind-1.1_4
libunwind-mips.so.8 libunwind-1.1_4
libunwind-aarch64.so.8 libunwind-1.2rc1_1
libunwind-ppc64.so.8 libunwind-1.2.1_1
libmicrohttpd.so.12 libmicrohttpd-0.9.48_1
libgit2.so.27 libgit2-0.27.3_1
libgit2-glib-1.0.so.0 libgit2-glib-0.23.4_1

View File

@ -1,4 +1,4 @@
# Template file for 'libunwind'.
# Template file for 'libunwind'
pkgname=libunwind
version=1.2.1
revision=1
@ -7,13 +7,15 @@ hostmakedepends="libtool automake"
makedepends="liblzma-devel"
short_desc="Library to determine the call-chain of a program"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.nongnu.org/libunwind/"
license="MIT"
homepage="http://www.nongnu.org/libunwind/"
distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-${version/rc/-rc}.tar.gz"
checksum=3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb
pre_configure() {
sed -i /SUBDIRS/s/tests// Makefile.am
# libunwind explicitly sets lib64 for ppc64 by default
sed -i /libdir/s/lib64/lib/ configure.ac
autoreconf -fi
}
post_install() {