Received: by mail.netbsd.org (Postfix, from userid 605) id 4B07484ED0; Thu, 16 Mar 2023 09:11:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7C48B84ECE for ; Thu, 16 Mar 2023 09:11:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id hBOciUGCHdhM for ; Thu, 16 Mar 2023 09:11:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E19B184CD8 for ; Thu, 16 Mar 2023 09:11:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D5C8AFA90; Thu, 16 Mar 2023 09:11:13 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1678957873240500" MIME-Version: 1.0 Date: Thu, 16 Mar 2023 09:11:13 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/cpu_features To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20230316091113.D5C8AFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1678957873240500 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Mar 16 09:11:13 UTC 2023 Modified Files: pkgsrc/devel/cpu_features: Makefile Log Message: cpu_features: switch to cmake/build.mk; pkglint fixes To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/cpu_features/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1678957873240500 Content-Disposition: inline Content-Length: 1495 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/cpu_features/Makefile diff -u pkgsrc/devel/cpu_features/Makefile:1.6 pkgsrc/devel/cpu_features/Makefile:1.7 --- pkgsrc/devel/cpu_features/Makefile:1.6 Fri May 13 10:39:35 2022 +++ pkgsrc/devel/cpu_features/Makefile Thu Mar 16 09:11:13 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2022/05/13 10:39:35 tnn Exp $ +# $NetBSD: Makefile,v 1.7 2023/03/16 09:11:13 adam Exp $ GITHUB_TAG= v${PKGVERSION_NOREV} DISTNAME= cpu_features-0.7.0 @@ -10,7 +10,6 @@ HOMEPAGE= https://github.com/google/cpu_ COMMENT= Cross platform C99 library to get CPU features at runtime LICENSE= apache-2.0 -USE_CMAKE= yes USE_LANGUAGES= c c++ CMAKE_ARGS+= -DCMAKE_POSITION_INDEPENDENT_CODE=ON CMAKE_ARGS+= -DBUILD_TESTING=OFF @@ -19,16 +18,17 @@ CMAKE_ARGS+= -DBUILD_TESTING=OFF .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" PLIST_SUBST+= CPU_FEATURES_ARCH=x86 -.elif !empty(MACHINE_ARCH:M*aarch64*) +.elif ${MACHINE_ARCH:M*aarch64*} PLIST_SUBST+= CPU_FEATURES_ARCH=aarch64 -.elif !empty(MACHINE_ARCH:M*powerpc*) +.elif ${MACHINE_ARCH:M*powerpc*} PLIST_SUBST+= CPU_FEATURES_ARCH=ppc -.elif !empty(MACHINE_ARCH:M*arm*) +.elif ${MACHINE_ARCH:M*arm*} PLIST_SUBST+= CPU_FEATURES_ARCH=arm -.elif !empty(MACHINE_ARCH:M*mips*) +.elif ${MACHINE_ARCH:M*mips*} PLIST_SUBST+= CPU_FEATURES_ARCH=mips .else PKG_FAIL_REASON+= "${MACHINE_ARCH} unsupported, see CMakeLists.txt" .endif +.include "../../devel/cmake/build.mk" .include "../../mk/bsd.pkg.mk" --_----------=_1678957873240500--