diff --git a/srcpkgs/bcc/template b/srcpkgs/bcc/template index 985568af0e..cbdb9de0ab 100644 --- a/srcpkgs/bcc/template +++ b/srcpkgs/bcc/template @@ -26,7 +26,11 @@ post_extract() { } bcc-tools_package() { short_desc+=" - tools" - depends="python3-bcc>=${version}_${revision} linux-headers" + depends="python3-bcc>=${version}_${revision}" + case "$XBPS_TARGET_MACHINE" in + # only add linux-headers for archs it's currently built for + i686*|x86_64*|ppc*|aarch64*) depends+=" linux-headers";; + esac pkg_install() { vmove usr/share/bcc/man/man8 mv ${PKGDESTDIR}/usr/share/bcc/man ${PKGDESTDIR}/usr/share/man