diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-04 18:46:24 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-04 18:46:24 +0000 |
commit | 27dd2d4d20927061a6df9a8141f8e1648c162c32 (patch) | |
tree | 8fca593ff483782273e23f3956bc0a9034484272 /media-libs/freeglut | |
parent | OOps drop missed doc definitons. (diff) | |
download | gentoo-2-27dd2d4d20927061a6df9a8141f8e1648c162c32.tar.gz gentoo-2-27dd2d4d20927061a6df9a8141f8e1648c162c32.tar.bz2 gentoo-2-27dd2d4d20927061a6df9a8141f8e1648c162c32.zip |
Make static libs optional. Punt .la file.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/freeglut')
-rw-r--r-- | media-libs/freeglut/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/freeglut/freeglut-2.6.0.ebuild | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/media-libs/freeglut/ChangeLog b/media-libs/freeglut/ChangeLog index 8d18b1bd2cf2..25f3fa1b576c 100644 --- a/media-libs/freeglut/ChangeLog +++ b/media-libs/freeglut/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/freeglut # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v 1.77 2011/03/18 18:28:21 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v 1.78 2011/04/04 18:46:24 scarabeus Exp $ + + 04 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> freeglut-2.6.0.ebuild: + Make static libs optional. Punt .la file. 18 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> -files/2.4.0-cursor.patch, -files/freeglut-2.4.0-macos.patch, diff --git a/media-libs/freeglut/freeglut-2.6.0.ebuild b/media-libs/freeglut/freeglut-2.6.0.ebuild index f0c9b14d5dd2..bbaebe6cef5a 100644 --- a/media-libs/freeglut/freeglut-2.6.0.ebuild +++ b/media-libs/freeglut/freeglut-2.6.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.6.0.ebuild,v 1.13 2011/01/26 18:09:59 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.6.0.ebuild,v 1.14 2011/04/04 18:46:24 scarabeus Exp $ -EAPI="2" +EAPI=3 inherit eutils flag-o-matic libtool autotools @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/freeglut/${P/_/-}.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="debug mpx" +IUSE="debug mpx static-libs" RDEPEND=" virtual/opengl @@ -45,6 +45,7 @@ src_configure() { --disable-warnings \ --disable-warnings-as-errors \ --enable-replace-glut \ + $(use_enable static-libs static) \ $(use_enable debug) } @@ -52,4 +53,5 @@ src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" dohtml -r doc/*.html doc/*.png || die "dohtml failed" + find "${ED}" -name '*.la' -delete } |