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/c1756c453272
branches:  trunk
changeset: 565687:c1756c453272
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 e358578b3d97 -r c1756c453272 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