aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-20 08:12:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-20 08:12:20 +0000
commitc960bbaa8ab94c416e5af5be24feaf7892d93b5d (patch)
treeec3c8610b9da04c371cb16bd5d447d09602a281e
parentce71cc85ea95b52d26d6513a56307e868be733ba (diff)
downloadaports-c960bbaa8ab94c416e5af5be24feaf7892d93b5d.tar.bz2
aports-c960bbaa8ab94c416e5af5be24feaf7892d93b5d.tar.xz
main/gettext: upgrade to 0.18.1.1
-rw-r--r--main/gettext/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index bd9eec61e8..1025aca135 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -1,16 +1,14 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=gettext
-pkgver=0.17
-pkgrel=4
+pkgver=0.18.1.1
+pkgrel=0
pkgdesc="GNU locale utilities"
url="http://www.gnu.org/software/gettext/gettext.html"
license='GPL'
depends=
-makedepends="libiconv-dev expat-dev ncurses-dev bash libxml2-dev libgomp"
-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
+makedepends="libiconv-dev expat-dev ncurses-dev bash libxml2-dev"
+source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-$pkgver.tar.gz
+ gettext-uclibc.patch
"
subpackages="$pkgname-doc $pkgname-dev"
@@ -19,6 +17,7 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
for i in ../*.patch; do
+ [ -r "$i" ] || continue
msg "Applying $i..."
patch -p1 < $i || return 1
done
@@ -31,6 +30,7 @@ build() {
./configure --prefix=/usr \
--mandir=/usr/share/man \
+ --enable-threads=posix \
--disable-static
make || return 1
}
@@ -40,7 +40,5 @@ package() {
make -j1 DESTDIR="$pkgdir/" install
}
-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"
+md5sums="3dd55b952826d2b32f51308f2f91aa89 gettext-0.18.1.1.tar.gz
+cbf6444e7c8ad3aa70b2b80f8fcb6016 gettext-uclibc.patch"