From aff2a3358a714d70547eb66e4ae501e30d33d2f7 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 3 Oct 2009 18:02:32 +0000 Subject: Set the correct cpu in macppc and macppc64 so that this builds. Only verified in macppc though. --- security/botan/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'security') diff --git a/security/botan/Makefile b/security/botan/Makefile index 9a760fd6462..4e291479201 100644 --- a/security/botan/Makefile +++ b/security/botan/Makefile @@ -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 @@ PLIST_SUBST+= AMD64_OR_IA32= .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 " -- cgit v1.2.3