pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/botan Set the correct cpu in macppc and macpp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5dd08256b3a
branches:  trunk
changeset: 399835:c5dd08256b3a
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Oct 03 18:02:32 2009 +0000

description:
Set the correct cpu in macppc and macppc64 so that this builds.  Only
verified in macppc though.

diffstat:

 security/botan/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 5b1f6e649b0d -r c5dd08256b3a security/botan/Makefile
--- a/security/botan/Makefile   Sat Oct 03 16:23:28 2009 +0000
+++ b/security/botan/Makefile   Sat Oct 03 18:02:32 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/09/23 16:36:30 jmmv Exp $
+# $NetBSD: Makefile,v 1.16 2009/10/03 18:02:32 jmmv Exp $
 
 DISTNAME=      Botan-1.8.7
 PKGNAME=       botan-1.8.7
@@ -32,6 +32,14 @@
 .elif ${MACHINE_ARCH} == "i386"
 PLIST_SUBST+=          AMD64="@comment "
 PLIST_SUBST+=          AMD64_OR_IA32=
+.elif ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS+=       --cpu=ppc
+PLIST_SUBST+=          AMD64="@comment "
+PLIST_SUBST+=          AMD64_OR_IA32="@comment "
+.elif ${MACHINE_ARCH} == "powerpc64"
+CONFIGURE_ARGS+=       --cpu=ppc64
+PLIST_SUBST+=          AMD64="@comment "
+PLIST_SUBST+=          AMD64_OR_IA32="@comment "
 .else
 PLIST_SUBST+=          AMD64="@comment "
 PLIST_SUBST+=          AMD64_OR_IA32="@comment "



Home | Main Index | Thread Index | Old Index