aboutsummaryrefslogtreecommitdiffstats
path: root/main/libunwind/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2016-06-14 08:45:40 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-06-14 08:45:40 +0200
commitc78fe2211cba6b9b7d48fb41e4539651cd586f9b (patch)
tree039fa254080480091dc6584515588899a57c491e /main/libunwind/APKBUILD
parenta1aa36ab79c6b597192e609aa3a22199986efeb9 (diff)
downloadaports-c78fe2211cba6b9b7d48fb41e4539651cd586f9b.tar.bz2
aports-c78fe2211cba6b9b7d48fb41e4539651cd586f9b.tar.xz
main/libunwind: set correct builddir
Diffstat (limited to 'main/libunwind/APKBUILD')
-rw-r--r--main/libunwind/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/libunwind/APKBUILD b/main/libunwind/APKBUILD
index a57addaf78..157b09cd3d 100644
--- a/main/libunwind/APKBUILD
+++ b/main/libunwind/APKBUILD
@@ -16,6 +16,8 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://download.savannah.gnu.org/releases/libunwind/libunwind-$pkgver.tar.gz
10-disable-tests.patch"
+builddir="$srcdir/$pkgname-$pkgver"
+
prepare() {
cd "$builddir"
default_prepare || return 1
@@ -36,7 +38,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}