net-dialup/freeradius-client: sed for AR

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-06-16 12:24:48 +02:00
parent b2a6fe73fc
commit 5deaeb5e51
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC

View file

@ -39,6 +39,11 @@ src_configure() {
--with-secure-path
)
econf "${myeconfargs[@]}"
for MAKEFILE in $(find -name Makefile) libtool; do
sed -i "s|/usr/bin/ar|${AR}|" "${MAKEFILE}" || \
die "Patching ${MAKEFILE} for ${AR} failed"
done
}
src_install() {