commit:     9b4cd61f8a70df0509efdd41034f904f211d19bc
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 14:53:31 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 15:10:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4cd61f

sci-libs/mathgl: drop USE=lua support

It had a missing build-time dependency on dev-lang/swig, and having
fixed this I found out that even with unslotted Lua, it:
 - installs the module directly into /usr/lib64 instead of the correct
   cmod directory,
 - has the module linked against liblua, which is a huge no-no, and
 - fails to load (even when moved to the correct directory) due to
   undefined symbols.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sci-libs/mathgl/mathgl-2.4.1-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild 
b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
index 871e6edae56..b9f2abff3f8 100644
--- a/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
+++ b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz 
mirror://sourceforge/${PN}/STIX_
 LICENSE="LGPL-3"
 SLOT="0/7.5.0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc fltk gif glut gsl hdf hdf5 jpeg lua mpi octave opengl openmp pdf
+IUSE="doc fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl openmp pdf
        png qt5 static-libs threads wxwidgets zlib"
 
 LANGS="ru"
@@ -32,7 +32,6 @@ RDEPEND="
        hdf? ( sci-libs/hdf )
        hdf5? ( >=sci-libs/hdf5-1.8[mpi=] )
        jpeg? ( virtual/jpeg:0 )
-       lua? ( >=dev-lang/lua-5.1:0 )
        octave? ( >=sci-mathematics/octave-3.4.0 )
        openmp? ( sys-cluster/openmpi )
        pdf? ( media-libs/libharu )
@@ -110,7 +109,6 @@ src_configure() {
                -Denable-hdf4=$(usex hdf)
                -Denable-hdf5=$(usex hdf5)
                -Denable-jpeg=$(usex jpeg)
-               -Denable-lua=$(usex lua)
                -Denable-mpi=$(usex mpi)
                -Denable-octave=$(usex octave)
                -Denable-opengl=$(usex opengl)

Reply via email to