From b44f9f17731637d8490a405a82f493f79fc80db0 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sat, 2 May 2009 20:44:06 +0000 Subject: 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) --- media-libs/mesa/ChangeLog | 6 +++++- media-libs/mesa/mesa-7.4.1-r1.ebuild | 9 ++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'media-libs/mesa') 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 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 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. -- cgit v1.2.3-65-gdbad