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-arm.so.8 libunwind-1.1_4
libunwind-mips.so.8 libunwind-1.1_4 libunwind-mips.so.8 libunwind-1.1_4
libunwind-aarch64.so.8 libunwind-1.2rc1_1 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 libmicrohttpd.so.12 libmicrohttpd-0.9.48_1
libgit2.so.27 libgit2-0.27.3_1 libgit2.so.27 libgit2-0.27.3_1
libgit2-glib-1.0.so.0 libgit2-glib-0.23.4_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 pkgname=libunwind
version=1.2.1 version=1.2.1
revision=1 revision=1
@ -7,13 +7,15 @@ hostmakedepends="libtool automake"
makedepends="liblzma-devel" makedepends="liblzma-devel"
short_desc="Library to determine the call-chain of a program" short_desc="Library to determine the call-chain of a program"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.nongnu.org/libunwind/"
license="MIT" license="MIT"
homepage="http://www.nongnu.org/libunwind/"
distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-${version/rc/-rc}.tar.gz" distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-${version/rc/-rc}.tar.gz"
checksum=3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb checksum=3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb
pre_configure() { pre_configure() {
sed -i /SUBDIRS/s/tests// Makefile.am 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 autoreconf -fi
} }
post_install() { post_install() {