pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/botan-devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Sep 20 09:09:21 UTC 2021

Modified Files:
        pkgsrc/security/botan-devel: Makefile

Log Message:
botan-devel: work around broken CPU arch detection on arm


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/security/botan-devel/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/botan-devel/Makefile
diff -u pkgsrc/security/botan-devel/Makefile:1.40 pkgsrc/security/botan-devel/Makefile:1.41
--- pkgsrc/security/botan-devel/Makefile:1.40   Wed Apr 21 13:24:15 2021
+++ pkgsrc/security/botan-devel/Makefile        Mon Sep 20 09:09:21 2021
@@ -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}



Home | Main Index | Thread Index | Old Index