summaryrefslogtreecommitdiff
path: root/security/botan
diff options
context:
space:
mode:
authorriz <riz@pkgsrc.org>2013-01-23 16:45:27 +0000
committerriz <riz@pkgsrc.org>2013-01-23 16:45:27 +0000
commit4e08b046b705bbb40cf102a02454020c6859b975 (patch)
tree3562e37c84e73d8355b41be40bd7d7ae796a547c /security/botan
parent1a4ed09e5b7bac32f721087ef3f3b1565a48fc3b (diff)
downloadpkgsrc-4e08b046b705bbb40cf102a02454020c6859b975.tar.gz
Set up PLIST_VARS for ppc and arm, and use them to point out that arm
doesn't have hardware timer support, so gets one less file installed. Package builds on evbarm now.
Diffstat (limited to 'security/botan')
-rw-r--r--security/botan/Makefile7
-rw-r--r--security/botan/PLIST.common5
2 files changed, 8 insertions, 4 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile
index 7e6bd7d6a62..98b7a338d70 100644
--- a/security/botan/Makefile
+++ b/security/botan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2013/01/12 20:52:27 riz Exp $
+# $NetBSD: Makefile,v 1.29 2013/01/23 16:45:27 riz Exp $
DISTNAME= Botan-1.8.14
PKGNAME= ${DISTNAME:tl}
@@ -24,7 +24,7 @@ MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS+= i386 x86 x86_64
+PLIST_VARS+= i386 x86 x86_64 ppc arm
.if ${MACHINE_ARCH} == "x86_64"
PLIST.x86_64= yes
@@ -35,10 +35,13 @@ PLIST.i386= yes
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ARGS+= --cpu=ppc
+PLIST.ppc= yes
.elif ${MACHINE_ARCH} == "powerpc64"
CONFIGURE_ARGS+= --cpu=ppc64
+PLIST.ppc= yes
.elif ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+= --cpu=arm
+PLIST.arm= yes
.endif
.include "../../lang/python/application.mk"
diff --git a/security/botan/PLIST.common b/security/botan/PLIST.common
index a3147d4ca5d..4a381e2ea00 100644
--- a/security/botan/PLIST.common
+++ b/security/botan/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.7 2012/10/08 20:46:38 pettai Exp $
+@comment $NetBSD: PLIST.common,v 1.8 2013/01/23 16:45:27 riz Exp $
bin/botan-config
include/botan/adler32.h
include/botan/aes.h
@@ -219,7 +219,8 @@ include/botan/symkey.h
include/botan/tea.h
include/botan/tiger.h
include/botan/timer.h
-include/botan/tm_hard.h
+${PLIST.x86}include/botan/tm_hard.h
+${PLIST.ppc}include/botan/tm_hard.h
include/botan/tm_unix.h
include/botan/turing.h
include/botan/twofish.h