summaryrefslogtreecommitdiff
path: root/community/chntpw/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/chntpw/PKGBUILD')
-rw-r--r--community/chntpw/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/chntpw/PKGBUILD b/community/chntpw/PKGBUILD
index 16c8f504c..6991ac9d9 100644
--- a/community/chntpw/PKGBUILD
+++ b/community/chntpw/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=chntpw
pkgver=110511
pkgrel=2
pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://pogostick.net/~pnh/ntpasswd/'
license=('GPL' 'LGPL')
makedepends=('openssl')
@@ -16,7 +16,7 @@ md5sums=('a3fb358d1adec589cd6bc8dedf68896c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- [ "$CARCH" = "x86_64" ] && sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile
+ [ "$CARCH" != "i686" ] && sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile
make
}