diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-25 17:30:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-25 17:30:38 +0000 |
commit | b47227307d6fbe3e8f9cc2a2b9233c546cf0a71a (patch) | |
tree | 0b5f8900404e8bac459fa4a303a7b882c8b0fcb3 /main/gettext/APKBUILD | |
parent | 7352c094405f3410f5021269a0fc585efd4fe51a (diff) | |
download | aports-b47227307d6fbe3e8f9cc2a2b9233c546cf0a71a.tar.bz2 aports-b47227307d6fbe3e8f9cc2a2b9233c546cf0a71a.tar.xz |
main/gettext: link to system expat and libxml2 rather than use internal
patches from gentoo
Diffstat (limited to 'main/gettext/APKBUILD')
-rw-r--r-- | main/gettext/APKBUILD | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD index 958e1131c8..430068e779 100644 --- a/main/gettext/APKBUILD +++ b/main/gettext/APKBUILD @@ -1,23 +1,40 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail.com> pkgname=gettext pkgver=0.17 -pkgrel=0 +pkgrel=1 pkgdesc="GNU locale utilities" url="http://www.gnu.org/software/gettext/gettext.html" license='GPL' -depends="libiconv expat ncurses" -makedepends="libiconv-dev" -source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-0.17.tar.gz" +depends= +makedepends="libiconv-dev expat-dev ncurses-dev bash uclibc++-dev libxml2-dev" +source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-0.17.tar.gz + gettext-0.15-expat-no-dlopen.patch + gettext-0.17-gnuinfo.patch + gettext-0.17-open-args.patch + " subpackages="$pkgname-doc $pkgname-dev" build() { cd "$srcdir/$pkgname-$pkgver" + for i in ../*.patch; do + msg "Applying $i..." + patch -p1 < $i || return 1 + done + + export CXX=${CXX_UC:-g++-uc} + + # http://bugs.gentoo.org/show_bug.cgi?id=81628 + export CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2" ./configure --prefix=/usr \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + --disable-static unset MAKEFLAGS make || return 1 make DESTDIR="$pkgdir/" install } -md5sums="58a2bc6d39c0ba57823034d55d65d606 gettext-0.17.tar.gz" +md5sums="58a2bc6d39c0ba57823034d55d65d606 gettext-0.17.tar.gz +20dbf5cfc16f8726e7594fb49da5665c gettext-0.15-expat-no-dlopen.patch +51ba4ca1008c76564c25c632a4ee8b3e gettext-0.17-gnuinfo.patch +aa0b9cb60cd87298dbfc2662b98e8a0b gettext-0.17-open-args.patch" |