net-dialup/freeradius: Fix typo in ebuild

It should be -shared and not --shared and this typo causes the
build to fail with slibtool.

Additionally it needs slibtool-shared and not rlibtool.

Bug: https://bugs.gentoo.org/786102
Closes: https://github.com/gentoo/gentoo/pull/25351
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
orbea
2022-05-06 09:08:05 -07:00
committed by Matt Turner
parent a21438f69e
commit 60bc702560

View File

@@ -129,15 +129,15 @@ src_prepare() {
raddb/radiusd.conf.in || die
# verbosity
# build shared libraries using jlibtool --shared
# build shared libraries using jlibtool -shared
sed -i \
-e '/$(LIBTOOL)/s|--quiet ||g' \
-e 's:--mode=\(compile\|link\):& --shared:g' \
-e 's:--mode=\(compile\|link\):& -shared:g' \
Make.inc.in || die
sed -i \
-e 's|--silent ||g' \
-e 's:--mode=\(compile\|link\):& --shared:g' \
-e 's:--mode=\(compile\|link\):& -shared:g' \
scripts/libtool.mk || die
# crude measure to stop jlibtool from running ranlib and ar