diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 19:35:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 19:35:55 +0000 |
commit | bca3a89c7402831b916eb0002f8b67bfb9964cc3 (patch) | |
tree | fe09a113d4d8bca016f787aeb928efd5066cc33b /main | |
parent | 49b922f2e74086625e20b1f9ada48f77b6aae8c6 (diff) | |
download | aports-bca3a89c7402831b916eb0002f8b67bfb9964cc3.tar.bz2 aports-bca3a89c7402831b916eb0002f8b67bfb9964cc3.tar.xz |
main/libiconv: fix bad rpath
Diffstat (limited to 'main')
-rw-r--r-- | main/libiconv/APKBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/main/libiconv/APKBUILD b/main/libiconv/APKBUILD index 1a1202fd55..6f4214e72d 100644 --- a/main/libiconv/APKBUILD +++ b/main/libiconv/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail.com> pkgname=libiconv pkgver=1.12 -pkgrel=6 +pkgrel=7 pkgdesc="GNU charset conversion library for libc which doesn't implement it" url="http://www.gnu.org/software/libiconv" arch="all" @@ -13,11 +13,15 @@ subpackages="$pkgname-doc $pkgname-dev" build() { cd "$srcdir/$pkgname-$pkgver" #only build if we need it - if [ "$ALPINE_LIBC" != "eglibc" ]; then - ./configure --prefix=/usr \ - --mandir=/usr/share/man - make || return 1 - fi + [ "$ALPINE_LIBC" = "eglibc" ] && return 0 + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 + # work around rpath issue + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make || return 1 } package() { |