Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/mathgl/
Date: Sun, 29 Nov 2020 15:11:07
Message-Id: 1606662647.9b4cd61f8a70df0509efdd41034f904f211d19bc.marecki@gentoo
1 commit: 9b4cd61f8a70df0509efdd41034f904f211d19bc
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 14:53:31 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 15:10:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4cd61f
7
8 sci-libs/mathgl: drop USE=lua support
9
10 It had a missing build-time dependency on dev-lang/swig, and having
11 fixed this I found out that even with unslotted Lua, it:
12 - installs the module directly into /usr/lib64 instead of the correct
13 cmod directory,
14 - has the module linked against liblua, which is a huge no-no, and
15 - fails to load (even when moved to the correct directory) due to
16 undefined symbols.
17
18 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
19
20 sci-libs/mathgl/mathgl-2.4.1-r2.ebuild | 4 +---
21 1 file changed, 1 insertion(+), 3 deletions(-)
22
23 diff --git a/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
24 index 871e6edae56..b9f2abff3f8 100644
25 --- a/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
26 +++ b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
27 @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_
28 LICENSE="LGPL-3"
29 SLOT="0/7.5.0"
30 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
31 -IUSE="doc fltk gif glut gsl hdf hdf5 jpeg lua mpi octave opengl openmp pdf
32 +IUSE="doc fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl openmp pdf
33 png qt5 static-libs threads wxwidgets zlib"
34
35 LANGS="ru"
36 @@ -32,7 +32,6 @@ RDEPEND="
37 hdf? ( sci-libs/hdf )
38 hdf5? ( >=sci-libs/hdf5-1.8[mpi=] )
39 jpeg? ( virtual/jpeg:0 )
40 - lua? ( >=dev-lang/lua-5.1:0 )
41 octave? ( >=sci-mathematics/octave-3.4.0 )
42 openmp? ( sys-cluster/openmpi )
43 pdf? ( media-libs/libharu )
44 @@ -110,7 +109,6 @@ src_configure() {
45 -Denable-hdf4=$(usex hdf)
46 -Denable-hdf5=$(usex hdf5)
47 -Denable-jpeg=$(usex jpeg)
48 - -Denable-lua=$(usex lua)
49 -Denable-mpi=$(usex mpi)
50 -Denable-octave=$(usex octave)
51 -Denable-opengl=$(usex opengl)