aboutsummaryrefslogtreecommitdiffstats
path: root/main/dtach/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dtach/APKBUILD')
-rw-r--r--main/dtach/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/dtach/APKBUILD b/main/dtach/APKBUILD
index 46cc03515d..8ca74ae164 100644
--- a/main/dtach/APKBUILD
+++ b/main/dtach/APKBUILD
@@ -14,7 +14,11 @@ subpackages="$pkgname-doc"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
install -Dm755 "$srcdir"/dtach-0.8/dtach "$pkgdir"/usr/bin/dtach
install -Dm644 "$srcdir"/dtach-0.8/dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1