Compare commits

...

2 commits

Author SHA1 Message Date
Alarig Le Lay 5deaeb5e51
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>
2020-06-16 12:24:48 +02:00
Alarig Le Lay b2a6fe73fc
net-dialup/freeradius-client: tc-export AR
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-06-16 09:04:21 +02:00

View file

@ -3,7 +3,7 @@
EAPI=7
inherit autotools
inherit autotools toolchain-funcs
DESCRIPTION="FreeRADIUS Client framework"
HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient"
@ -31,12 +31,19 @@ src_prepare() {
}
src_configure() {
tc-export AR
local myeconfargs=(
$(use_enable scp)
$(use_enable shadow)
--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() {