summaryrefslogtreecommitdiff
path: root/security/botan
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2009-10-03 18:02:32 +0000
committerjmmv <jmmv@pkgsrc.org>2009-10-03 18:02:32 +0000
commita3332af3424ed3673a01815974daff05acf01f4e (patch)
treec06a3fc27bb349c26fffc9167be2d61418df37eb /security/botan
parentdc3e5a79de830fb5343b115c1609b9e71b88368d (diff)
downloadpkgsrc-a3332af3424ed3673a01815974daff05acf01f4e.tar.gz
Set the correct cpu in macppc and macppc64 so that this builds. Only
verified in macppc though.
Diffstat (limited to 'security/botan')
-rw-r--r--security/botan/Makefile10
1 files changed, 9 insertions, 1 deletions
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 "