diff options
-rw-r--r-- | main/apr/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD index a722242524..7de73b2cc1 100644 --- a/main/apr/APKBUILD +++ b/main/apr/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=apr pkgver=1.4.2 -pkgrel=3 +pkgrel=4 pkgdesc="The Apache Portable Runtime" url="http://apr.apache.org/" arch="all" @@ -10,9 +10,17 @@ depends= makedepends="util-linux-ng-dev" depends_dev="util-linux-ng-dev" subpackages="$pkgname-dev" -source="http://www.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2" +source="http://www.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2 + saveas-http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/apr/current/SOURCES/apr-1.4.2-alias.patch?revision=604557&content-type=text%2Fplain&view=co/apr-1.4.2-alias.patch + " _builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + patch -p1 -i "$srcdir"/apr-1.4.2-alias.patch || return 1 #see #504 +} + build() { cd "$_builddir" ./configure --prefix=/usr \ @@ -39,4 +47,5 @@ dev() { return 0 } -md5sums="4b00e8f70c067893d075577962656b35 apr-1.4.2.tar.bz2" +md5sums="4b00e8f70c067893d075577962656b35 apr-1.4.2.tar.bz2 +09880bf826888537f756fd21f6b8c796 apr-1.4.2-alias.patch" |