diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-02 20:44:06 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-02 20:44:06 +0000 |
commit | b44f9f17731637d8490a405a82f493f79fc80db0 (patch) | |
tree | 234cbb33df4f6942096cae9973b6bc357578c82e /media-libs/mesa | |
parent | silence repoman (diff) | |
download | gentoo-2-b44f9f17731637d8490a405a82f493f79fc80db0.tar.gz gentoo-2-b44f9f17731637d8490a405a82f493f79fc80db0.tar.bz2 gentoo-2-b44f9f17731637d8490a405a82f493f79fc80db0.zip |
Remove glew headers during install. They are needed during build time and glew cant be installed before mesa.
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/mesa')
-rw-r--r-- | media-libs/mesa/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/mesa/mesa-7.4.1-r1.ebuild | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/media-libs/mesa/ChangeLog b/media-libs/mesa/ChangeLog index a5e69906af49..25bf2e0067e7 100644 --- a/media-libs/mesa/ChangeLog +++ b/media-libs/mesa/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/mesa # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.208 2009/05/01 15:08:38 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.209 2009/05/02 20:44:06 scarabeus Exp $ + + 02 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild: + Remove glew headers during install. They are needed during build time and + glew cant be installed before mesa. 01 May 2009; Tomas Chvatal <scarabeus@gentoo.org> mesa-7.4.1-r1.ebuild: Move glew RDEPEND to PDEPEND for avoiding circular deps. diff --git a/media-libs/mesa/mesa-7.4.1-r1.ebuild b/media-libs/mesa/mesa-7.4.1-r1.ebuild index 562e16d06e69..7e3f935e7e1b 100644 --- a/media-libs/mesa/mesa-7.4.1-r1.ebuild +++ b/media-libs/mesa/mesa-7.4.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.4.1-r1.ebuild,v 1.2 2009/05/01 15:08:38 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.4.1-r1.ebuild,v 1.3 2009/05/02 20:44:06 scarabeus Exp $ EAPI="2" @@ -125,10 +125,6 @@ src_prepare() { sed -i -e "s/-DHAVE_POSIX_MEMALIGN//" configure.ac eautoreconf - - # remove glew headers. We preffer to use system ones - rm -f "${S}"/include/GL/{glew,glxew,wglew}.h \ - || die "Removing glew includes failed." } src_configure() { @@ -209,6 +205,9 @@ src_install() { # Remove redundant headers # GLUT thing rm -f "${D}"/usr/include/GL/glut*.h || die "Removing glut include failed." + # Glew headers + rm -f "${D}"/usr/include/GL/{glew,glxew,wglew}.h \ + || die "Removing glew includes failed." # Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib # because user can eselect desired GL provider. |