summaryrefslogtreecommitdiff
path: root/security/botan
diff options
context:
space:
mode:
authorriz <riz@pkgsrc.org>2010-12-15 21:52:15 +0000
committerriz <riz@pkgsrc.org>2010-12-15 21:52:15 +0000
commit60057dbd536a01c9e49d78b95788d7b88bf894b4 (patch)
treef080ce5083102e2bc80ee66b90d9a1997918174d /security/botan
parentb22eec9c5a0fc7b67f94e9685cc44c34c7d63ca0 (diff)
downloadpkgsrc-60057dbd536a01c9e49d78b95788d7b88bf894b4.tar.gz
Explicitly pass "--cpu=i386" when MACHINE_ARCH is i386 in order for
this to build properly under Mac OS X "Snow Leopard" on a 64-bit host. Fixes PR pkg/44191 by me.
Diffstat (limited to 'security/botan')
-rw-r--r--security/botan/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile
index b84a4a95987..1eccaedcc5b 100644
--- a/security/botan/Makefile
+++ b/security/botan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2010/10/12 19:36:43 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2010/12/15 21:52:15 riz Exp $
DISTNAME= Botan-1.8.7
PKGNAME= botan-1.8.7
@@ -34,6 +34,7 @@ PLIST_VARS+= i386 x86 x86_64
PLIST.x86_64= yes
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --cpu=i386
PLIST.i386= yes
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "powerpc"