aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpaper
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-27 14:19:28 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-27 14:22:26 +0000
commit1751d6595597f1d9101cac04e54f20d95790f4f4 (patch)
treee895c3aa71985691256eca03cf4f7cdfeb0d966b /main/libpaper
parentee152f9e0dce8017d033e01e018f1482d27e7e1d (diff)
downloadaports-1751d6595597f1d9101cac04e54f20d95790f4f4.tar.bz2
aports-1751d6595597f1d9101cac04e54f20d95790f4f4.tar.xz
main/[various]: fix build against musl (add update_config_sub)
Diffstat (limited to 'main/libpaper')
-rw-r--r--main/libpaper/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD
index 51364d250b..f3aaea08c3 100644
--- a/main/libpaper/APKBUILD
+++ b/main/libpaper/APKBUILD
@@ -12,8 +12,13 @@ makedepends=""
source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
-build ()
-{
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
cd "$_builddir"
./configure \
--build=$CBUILD \