summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-06-11 12:32:04 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-06-11 12:32:04 +0000
commitde337773777e7e9d1997a529c48dd2697a00d68f (patch)
tree295bbb1db8a5d9f3ae77fcf71e62c496dbbbcb1c /media-libs/mesa
parentStable for amd64, wrt bug #419917 (diff)
downloadgentoo-2-de337773777e7e9d1997a529c48dd2697a00d68f.tar.gz
gentoo-2-de337773777e7e9d1997a529c48dd2697a00d68f.tar.bz2
gentoo-2-de337773777e7e9d1997a529c48dd2697a00d68f.zip
Fix die on missing VG include dir with -openvg. Fixes bug#420369.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/ChangeLog5
-rw-r--r--media-libs/mesa/mesa-8.0.3-r1.ebuild10
2 files changed, 11 insertions, 4 deletions
diff --git a/media-libs/mesa/ChangeLog b/media-libs/mesa/ChangeLog
index ba499ffbd5d7..9061d5d486a8 100644
--- a/media-libs/mesa/ChangeLog
+++ b/media-libs/mesa/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/mesa
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.400 2012/06/06 06:54:51 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/ChangeLog,v 1.401 2012/06/11 12:32:04 scarabeus Exp $
+
+ 11 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> mesa-8.0.3-r1.ebuild:
+ Fix die on missing VG include dir with -openvg. Fixes bug#420369.
06 Jun 2012; Luca Barbato <lu_zero@gentoo.org> mesa-8.0.3-r1.ebuild:
Fix glproto dep
diff --git a/media-libs/mesa/mesa-8.0.3-r1.ebuild b/media-libs/mesa/mesa-8.0.3-r1.ebuild
index cb99ddfaf75f..42798e248814 100644
--- a/media-libs/mesa/mesa-8.0.3-r1.ebuild
+++ b/media-libs/mesa/mesa-8.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.3-r1.ebuild,v 1.2 2012/06/06 06:54:51 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-8.0.3-r1.ebuild,v 1.3 2012/06/11 12:32:04 scarabeus Exp $
EAPI=4
@@ -292,8 +292,12 @@ src_install() {
|| die "Failed to move ${x}"
fi
done
- mv "${ED}"/usr/include/{EGL,GLES*,VG,KHR}/ "${ED}"/${gl_dir}/include \
- || die "Failed to move headers"
+ for x in "${ED}"/usr/include/{EGL,GLES*,VG,KHR}; do
+ if [ -d ${x} ]; then
+ mv -f "${x}" "${ED}"/${gl_dir}/include \
+ || die "Failed to move ${x}"
+ fi
+ done
eend $?
if use classic || use gallium; then