From ff71b6d64cbc6a118e2f2db7ff319ad1c84ffd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 8 May 2020 23:06:04 +0200 Subject: [PATCH] bpftrace: Now supports only 64 bit targets. --- srcpkgs/bpftrace/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/bpftrace/template b/srcpkgs/bpftrace/template index b2dccc88932..59693fceddb 100644 --- a/srcpkgs/bpftrace/template +++ b/srcpkgs/bpftrace/template @@ -13,6 +13,10 @@ homepage="https://github.com/iovisor/bpftrace/" distfiles="https://github.com/iovisor/bpftrace/archive/v${version}.tar.gz" checksum=50ea80c0e337c4aaa260911e013b92ae09bdd5a062b23eb748290409bc2844db +if [ "$XBPS_TARGET_WORDSIZE" != 64 ]; then + broken="Only 64 bit targets are supported. ${XBPS_TARGET_MACHINE} is ${XBPS_TARGET_WORDSIZE} bit." +fi + post_install() { # clashes with bcc-tools rm -rf ${DESTDIR}/usr/share/man