diff options
author | riz <riz@pkgsrc.org> | 2013-01-12 20:52:27 +0000 |
---|---|---|
committer | riz <riz@pkgsrc.org> | 2013-01-12 20:52:27 +0000 |
commit | a0841e173978941f47386c02399c07b2e06d0b51 (patch) | |
tree | 0198507215a90b77d9b73f5dad851fb601efa107 /security/botan | |
parent | fff9b29bf78a00ec8795aa1a2901ccafde78da17 (diff) | |
download | pkgsrc-a0841e173978941f47386c02399c07b2e06d0b51.tar.gz |
Detect arm MACHINE_ARCH, and set --cpu accordingly, so it can build
on NetBSD ARM platforms. Tested on my Sheevaplug.
XXX will probably need similar treatment for mips and sh3.
Diffstat (limited to 'security/botan')
-rw-r--r-- | security/botan/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile index 9947d565787..7e6bd7d6a62 100644 --- a/security/botan/Makefile +++ b/security/botan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2012/10/23 18:16:21 asau Exp $ +# $NetBSD: Makefile,v 1.28 2013/01/12 20:52:27 riz Exp $ DISTNAME= Botan-1.8.14 PKGNAME= ${DISTNAME:tl} @@ -37,6 +37,8 @@ PLIST.x86= yes CONFIGURE_ARGS+= --cpu=ppc .elif ${MACHINE_ARCH} == "powerpc64" CONFIGURE_ARGS+= --cpu=ppc64 +.elif ${MACHINE_ARCH} == "arm" +CONFIGURE_ARGS+= --cpu=arm .endif .include "../../lang/python/application.mk" |