summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjmmv <jmmv>2009-10-03 18:02:32 +0000
committerjmmv <jmmv>2009-10-03 18:02:32 +0000
commitaff2a3358a714d70547eb66e4ae501e30d33d2f7 (patch)
treec06a3fc27bb349c26fffc9167be2d61418df37eb /security
parentfed5f8061f02648feff9cdc9e299748ad3e6f1ba (diff)
downloadpkgsrc-aff2a3358a714d70547eb66e4ae501e30d33d2f7.tar.gz
Set the correct cpu in macppc and macppc64 so that this builds. Only
verified in macppc though.
Diffstat (limited to 'security')
-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 "