From abf4038da0de3bec6c86934de8529a9ca84c7916 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 5 May 2025 22:41:51 -0400 Subject: [PATCH] dynamips: don't do weird stuff with binfmts cmake is just being weird, and xbps-src-make wants to exec grep and open the procfs path --- srcpkgs/dynamips/template | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/srcpkgs/dynamips/template b/srcpkgs/dynamips/template index 5f7c20572e0..59b28929a69 100644 --- a/srcpkgs/dynamips/template +++ b/srcpkgs/dynamips/template @@ -12,11 +12,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/GNS3/dynamips" distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz" checksum=503bbb52c03f91900ea8dbe8bd0b804b76e2e28d0b7242624e0d3c52dda441a1 - -# cross compile does not currently work without binfmt -# so `nocross` is used in environments like Github Actions -_BINFMT_PATH=/proc/sys/fs/binfmt_misc/qemu-${XBPS_TARGET_QEMU_MACHINE}-static - -if ! grep -q enabled ${_BINFMT_PATH} 2>/dev/null; then - nocross="binfmt support not enabled" -fi +nocross="cmake can't be arsed to use CROSSCOMPILING_EMULATOR"