pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/botan Explicitly pass "--cpu=i386" when MACHI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/019de579f51a
branches:  trunk
changeset: 583338:019de579f51a
user:      riz <riz%pkgsrc.org@localhost>
date:      Wed Dec 15 21:52:15 2010 +0000

description:
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:

 security/botan/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 66b621c33d64 -r 019de579f51a security/botan/Makefile
--- a/security/botan/Makefile   Wed Dec 15 21:37:55 2010 +0000
+++ b/security/botan/Makefile   Wed Dec 15 21:52:15 2010 +0000
@@ -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.x86_64=  yes
 PLIST.x86=     yes
 .elif ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+=       --cpu=i386
 PLIST.i386=    yes
 PLIST.x86=     yes
 .elif ${MACHINE_ARCH} == "powerpc"



Home | Main Index | Thread Index | Old Index