mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user