main/libunwind: set correct builddir

parent a1aa36ab
...@@ -16,6 +16,8 @@ subpackages="$pkgname-dev $pkgname-doc" ...@@ -16,6 +16,8 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://download.savannah.gnu.org/releases/libunwind/libunwind-$pkgver.tar.gz source="http://download.savannah.gnu.org/releases/libunwind/libunwind-$pkgver.tar.gz
10-disable-tests.patch" 10-disable-tests.patch"
builddir="$srcdir/$pkgname-$pkgver"
prepare() { prepare() {
cd "$builddir" cd "$builddir"
default_prepare || return 1 default_prepare || return 1
...@@ -36,7 +38,7 @@ build() { ...@@ -36,7 +38,7 @@ build() {
} }
package() { package() {
cd "$srcdir/$pkgname-$pkgver" cd "$builddir"
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install || return 1
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment