* [gentoo-commits] repo/gentoo:master commit in: x11-libs/liboglappth/files/, x11-libs/liboglappth/
@ 2020-09-15 13:23 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-09-15 13:23 UTC (permalink / raw
To: gentoo-commits
commit: ca6af58e3d4cd67cba5d3d15e60a47277d6efcfb
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 13:23:01 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 13:23:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6af58e
x11-libs/liboglappth: Disable static libraries
Closes: https://bugs.gentoo.org/742656
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>
x11-libs/liboglappth/files/gcc-4.3.patch | 10 +++++-----
...ppth-1.0.0.ebuild => liboglappth-1.0.0-r1.ebuild} | 20 +++++++++++++++-----
2 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/x11-libs/liboglappth/files/gcc-4.3.patch b/x11-libs/liboglappth/files/gcc-4.3.patch
index bc04b9e97c7..cf45065916b 100644
--- a/x11-libs/liboglappth/files/gcc-4.3.patch
+++ b/x11-libs/liboglappth/files/gcc-4.3.patch
@@ -1,10 +1,10 @@
---- a/src/base_wcl.cpp 2008-07-07 23:49:10.000000000 -0700
-+++ b/src/base_wcl.cpp 2008-07-07 23:49:26.000000000 -0700
-@@ -11,6 +11,7 @@
+--- a/src/base_wcl.cpp
++++ b/src/base_wcl.cpp
+@@ -22,6 +22,7 @@
#include "base_app.h"
#include <stdlib.h> // the definition for NULL...
+#include <cstring>
- #include <GL/glut.h>
-
+ #include <GL/gl.h>
+ #include <GL/glu.h>
diff --git a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild b/x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild
similarity index 65%
rename from x11-libs/liboglappth/liboglappth-1.0.0.ebuild
rename to x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild
index c0b2725651a..eb68dba4208 100644
--- a/x11-libs/liboglappth/liboglappth-1.0.0.ebuild
+++ b/x11-libs/liboglappth/liboglappth-1.0.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="Libary for OpenGL applications with easy-to-code scene setup and selection"
HOMEPAGE="http://www.bioinformatics.org/ghemical/"
@@ -10,12 +10,22 @@ SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
RDEPEND="
virtual/opengl
media-libs/freeglut"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/gcc-4.3.patch )
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-15 13:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-15 13:23 [gentoo-commits] repo/gentoo:master commit in: x11-libs/liboglappth/files/, x11-libs/liboglappth/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox