sci-mathematics/octave: remove slibtool workaround from v7.2.0.

The --enable-link-all-dependencies flag is apparently no longer needed
with octave-7.2.0. Removing it from the ./configure invocation prevents
mkoctfile from using the -loctave and -loctinterp flags by default. With
octave-7.2.0 they should be harmless anyway, but it's nice to clean
things up a bit when we can get away with it.

Bug: https://bugs.gentoo.org/776583
Bug: https://bugs.gentoo.org/858554
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2022-09-11 08:33:36 -04:00
parent 8591b592d8
commit 0ff312a629

View File

@@ -139,16 +139,11 @@ src_configure() {
# --with-sundials_ida (no-op) with USE="sundials"
# --without-sundials_ida (disables it) with USE="-sundials"
#
# The --enable-link-all-dependencies flag is needed because
# otherwise, the build system appends --no-undefined to LDFLAGS and
# then proceeds to undefine things. GNU libtool ignores this, but
# slibtool (for example) does not (bug #776583).
econf \
--localstatedir="${EPREFIX}/var/state/octave" \
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
--disable-64 \
--enable-link-all-dependencies \
--enable-shared \
--with-z \
--with-bz2 \