sudo: work around a i686-musl bug
This commit is contained in:
parent
2502606f90
commit
5505ba01ad
1 changed files with 8 additions and 0 deletions
|
@ -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' {} \;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue