aboutsummaryrefslogtreecommitdiffstats
path: root/main/nano/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nano/APKBUILD')
-rw-r--r--main/nano/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index 1149d5ad6b..560d0950b6 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -16,12 +16,16 @@ source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
- --disable-speller
+ --disable-speller \
+ || return 1
make || return 1
}