sudo: work around a i686-musl bug

This commit is contained in:
Jürgen Buchmüller 2017-04-05 21:08:31 +02:00
parent 2502606f90
commit 5505ba01ad

View file

@ -18,6 +18,14 @@ license="ISC, BSD, zlib"
distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
checksum=237e18e67c2ad59ecacfa4b7707198b09fcf84914621585a9bc670dcc31a52e0
post_configure() {
case "$XBPS_TARGET_MACHINE" in
i686-musl) find -type f -exec sed -i "{}" \
-e "s;-fstack-protector-strong;-fno-stack-protector;g" \;
;;
esac
}
pre_install() {
find ${wrksrc} -type f -name Makefile -exec sed -i 's,$(INSTALL_OWNER),,g' {} \;
}