# Template file for 'strace' pkgname=strace version=4.10 revision=3 build_pie=yes build_style=gnu-configure configure_args="--enable-libunwind" makedepends="libunwind-devel" short_desc="A System Call Tracer" maintainer="Juan RP " homepage="http://sourceforge.net/projects/strace" license="BSD" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=e6180d866ef9e76586b96e2ece2bfeeb3aa23f5cc88153f76e9caedd65e40ee2 pre_configure() { sed -i -e 's/include /include /g' configure case "$XBPS_TARGET_MACHINE" in *-musl) export CFLAGS+=" -Dsigcontext_struct=sigcontext";; esac }