aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-02 12:36:32 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-02 12:36:32 +0000
commit824969fa384fa46ff7a8549938253f14a0cb5d93 (patch)
treef597baebd39af42cd3b1fab553b43d505f9fb706 /testing
parentca02a9aa2d12081cc936486f217f0b09a1d3e0c8 (diff)
downloadaports-824969fa384fa46ff7a8549938253f14a0cb5d93.tar.bz2
aports-824969fa384fa46ff7a8549938253f14a0cb5d93.tar.xz
testing/ophcrack: fix build on aarch64
Diffstat (limited to 'testing')
-rw-r--r--testing/ophcrack/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/ophcrack/APKBUILD b/testing/ophcrack/APKBUILD
index e478c880a8..9dc4af7cf1 100644
--- a/testing/ophcrack/APKBUILD
+++ b/testing/ophcrack/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=ophcrack
pkgver=3.6.1
-pkgrel=0
+pkgrel=1
pkgdesc="Windows password cracker based on rainbow tables"
url="http://ophcrack.sourceforge.net/"
arch="all"
@@ -15,11 +15,16 @@ builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
+ update_config_sub || return 1
}
build() {
cd "$builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --target=$CTARGET \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info