1 |
commit: ca6af58e3d4cd67cba5d3d15e60a47277d6efcfb |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 15 13:23:01 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 15 13:23:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6af58e |
7 |
|
8 |
x11-libs/liboglappth: Disable static libraries |
9 |
|
10 |
Closes: https://bugs.gentoo.org/742656 |
11 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
x11-libs/liboglappth/files/gcc-4.3.patch | 10 +++++----- |
15 |
...ppth-1.0.0.ebuild => liboglappth-1.0.0-r1.ebuild} | 20 +++++++++++++++----- |
16 |
2 files changed, 20 insertions(+), 10 deletions(-) |
17 |
|
18 |
diff --git a/x11-libs/liboglappth/files/gcc-4.3.patch b/x11-libs/liboglappth/files/gcc-4.3.patch |
19 |
index bc04b9e97c7..cf45065916b 100644 |
20 |
--- a/x11-libs/liboglappth/files/gcc-4.3.patch |
21 |
+++ b/x11-libs/liboglappth/files/gcc-4.3.patch |
22 |
@@ -1,10 +1,10 @@ |
23 |
---- a/src/base_wcl.cpp 2008-07-07 23:49:10.000000000 -0700 |
24 |
-+++ b/src/base_wcl.cpp 2008-07-07 23:49:26.000000000 -0700 |
25 |
-@@ -11,6 +11,7 @@ |
26 |
+--- a/src/base_wcl.cpp |
27 |
++++ b/src/base_wcl.cpp |
28 |
+@@ -22,6 +22,7 @@ |
29 |
|
30 |
#include "base_app.h" |
31 |
#include <stdlib.h> // the definition for NULL... |
32 |
+#include <cstring> |
33 |
|
34 |
- #include <GL/glut.h> |
35 |
- |
36 |
+ #include <GL/gl.h> |
37 |
+ #include <GL/glu.h> |
38 |
|
39 |
diff --git a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild b/x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild |
40 |
similarity index 65% |
41 |
rename from x11-libs/liboglappth/liboglappth-1.0.0.ebuild |
42 |
rename to x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild |
43 |
index c0b2725651a..eb68dba4208 100644 |
44 |
--- a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild |
45 |
+++ b/x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild |
46 |
@@ -1,7 +1,7 @@ |
47 |
-# Copyright 1999-2017 Gentoo Foundation |
48 |
+# Copyright 1999-2020 Gentoo Authors |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
|
51 |
-EAPI=6 |
52 |
+EAPI=7 |
53 |
|
54 |
DESCRIPTION="Libary for OpenGL applications with easy-to-code scene setup and selection" |
55 |
HOMEPAGE="http://www.bioinformatics.org/ghemical/" |
56 |
@@ -10,12 +10,22 @@ SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz" |
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="amd64 ppc x86" |
60 |
-IUSE="" |
61 |
|
62 |
RDEPEND=" |
63 |
virtual/opengl |
64 |
media-libs/freeglut" |
65 |
-DEPEND="${RDEPEND} |
66 |
- virtual/pkgconfig" |
67 |
+DEPEND="${RDEPEND}" |
68 |
+BDEPEND="virtual/pkgconfig" |
69 |
|
70 |
PATCHES=( "${FILESDIR}"/gcc-4.3.patch ) |
71 |
+ |
72 |
+src_configure() { |
73 |
+ econf --disable-static |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ default |
78 |
+ |
79 |
+ # no static archives |
80 |
+ find "${ED}" -name '*.la' -delete || die |
81 |
+} |