summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2016-11-19 17:20:09 -0800
committerMatt Turner <mattst88@gentoo.org>2016-11-19 17:20:09 -0800
commit3bfdddc9600044f6214cd2acaf67ccb3d5f95775 (patch)
tree917ead08adcb1b9bc366f117fc3d5d0a985e8181 /media-libs/mesa
parentdev-perl/Digest-JHash: Bump to version 0.100.0 (diff)
downloadgentoo-3bfdddc9600044f6214cd2acaf67ccb3d5f95775.tar.gz
gentoo-3bfdddc9600044f6214cd2acaf67ccb3d5f95775.tar.bz2
gentoo-3bfdddc9600044f6214cd2acaf67ccb3d5f95775.zip
media-libs/mesa: Wrap vulkan header removal with check
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/mesa-13.0.1.ebuild4
-rw-r--r--media-libs/mesa/mesa-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/media-libs/mesa/mesa-13.0.1.ebuild b/media-libs/mesa/mesa-13.0.1.ebuild
index def17fd91501..5194e90aa737 100644
--- a/media-libs/mesa/mesa-13.0.1.ebuild
+++ b/media-libs/mesa/mesa-13.0.1.ebuild
@@ -392,7 +392,9 @@ multilib_src_install_all() {
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
# Mesa should not install these
- rm "${ED}"/usr/include/vulkan/{vulkan.h,vk_platform.h}
+ if use vulkan; then
+ rm "${ED}"/usr/include/vulkan/{vulkan.h,vk_platform.h} || die
+ fi
}
multilib_src_test() {
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index def17fd91501..5194e90aa737 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -392,7 +392,9 @@ multilib_src_install_all() {
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
# Mesa should not install these
- rm "${ED}"/usr/include/vulkan/{vulkan.h,vk_platform.h}
+ if use vulkan; then
+ rm "${ED}"/usr/include/vulkan/{vulkan.h,vk_platform.h} || die
+ fi
}
multilib_src_test() {