aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr-util/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/apr-util/APKBUILD')
-rw-r--r--main/apr-util/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index f08d81db30..7768dbe68e 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -15,8 +15,15 @@ depends_dev="expat-dev apr-dev openldap-dev sqlite-dev postgresql-dev
db-dev"
source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,7 +42,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/apr-util*/*.la \
"$pkgdir"/usr/lib/*.exp \