diff options
author | nia <nia@pkgsrc.org> | 2021-09-20 09:09:21 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-09-20 09:09:21 +0000 |
commit | 46d6a9ae7be983eac426af9348c07b4e0e0b387b (patch) | |
tree | 5c4d15877ea6d87cadcc0062daa9a02500f19272 /security | |
parent | ebdfb8a5355aa5a3e2876fe47713c46d766442c4 (diff) | |
download | pkgsrc-46d6a9ae7be983eac426af9348c07b4e0e0b387b.tar.gz |
botan-devel: work around broken CPU arch detection on arm
Diffstat (limited to 'security')
-rw-r--r-- | security/botan-devel/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/security/botan-devel/Makefile b/security/botan-devel/Makefile index 7c104b9d70d..0b576022434 100644 --- a/security/botan-devel/Makefile +++ b/security/botan-devel/Makefile @@ -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=i386 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} |