pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/botan-devel botan-devel: work around broken C...
details: https://anonhg.NetBSD.org/pkgsrc/rev/98b337cfe37f
branches: trunk
changeset: 458822:98b337cfe37f
user: nia <nia%pkgsrc.org@localhost>
date: Mon Sep 20 09:09:21 2021 +0000
description:
botan-devel: work around broken CPU arch detection on arm
diffstat:
security/botan-devel/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r b6deaf6c5c76 -r 98b337cfe37f security/botan-devel/Makefile
--- a/security/botan-devel/Makefile Mon Sep 20 09:05:30 2021 +0000
+++ b/security/botan-devel/Makefile Mon Sep 20 09:09:21 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2021/04/21 13:24:15 adam Exp $
+# $NetBSD: Makefile,v 1.41 2021/09/20 09:09:21 nia Exp $
DISTNAME= Botan-2.17.3
PKGNAME= ${DISTNAME:tl}
@@ -40,8 +40,10 @@
CONFIGURE_ARGS+= --cpu=ppc
.elif ${MACHINE_ARCH} == "powerpc64"
CONFIGURE_ARGS+= --cpu=ppc64
-.elif ${MACHINE_ARCH} == "arm"
-CONFIGURE_ARGS+= --cpu=arm
+.elif !empty(MACHINE_ARCH:Maarch64*)
+CONFIGURE_ARGS+= --cpu=arm64
+.elif !empty(MACHINE_ARCH:Mearm*)
+CONFIGURE_ARGS+= --cpu=arm32
.endif
MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
Home |
Main Index |
Thread Index |
Old Index