diff options
author | riz <riz> | 2010-12-15 21:52:15 +0000 |
---|---|---|
committer | riz <riz> | 2010-12-15 21:52:15 +0000 |
commit | b9c985184c412e908651191a3799d0e96397bc1e (patch) | |
tree | f080ce5083102e2bc80ee66b90d9a1997918174d | |
parent | 3d1c1e6bccff8f93eb6a9ec78d39c576c297c70f (diff) | |
download | pkgsrc-b9c985184c412e908651191a3799d0e96397bc1e.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.
-rw-r--r-- | security/botan/Makefile | 3 |
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" |