summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-10-12 09:34:09 +0200
committerAxel Huebl <axel.huebl@plasma.ninja>2018-10-12 09:34:09 +0200
commit2ae75702c0f8ded1e7b71a22d89c48e79ca6a3b1 (patch)
tree60466841b2a83aa830498362aa9d2412e46889a1
parent5196c1a51aac8cd0eed8da7eba2844b046de46b3 (diff)
downloadspack-2ae75702c0f8ded1e7b71a22d89c48e79ca6a3b1.tar.gz
spack-2ae75702c0f8ded1e7b71a22d89c48e79ca6a3b1.tar.bz2
spack-2ae75702c0f8ded1e7b71a22d89c48e79ca6a3b1.tar.xz
spack-2ae75702c0f8ded1e7b71a22d89c48e79ca6a3b1.zip
libepoxy: fix build (#9508)
- Add missing pkgconfig dependency - Explicitly disable egl
-rw-r--r--var/spack/repos/builtin/packages/libepoxy/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libepoxy/package.py b/var/spack/repos/builtin/packages/libepoxy/package.py
index e2feebf022..afb9677f69 100644
--- a/var/spack/repos/builtin/packages/libepoxy/package.py
+++ b/var/spack/repos/builtin/packages/libepoxy/package.py
@@ -35,5 +35,12 @@ class Libepoxy(AutotoolsPackage):
version('1.4.3', 'af4c3ce0fb1143bdc4e43f85695a9bed')
version('1.3.1', '96f6620a9b005a503e7b44b0b528287d')
+ depends_on('pkgconfig', type='build')
depends_on('meson')
depends_on('mesa')
+
+ def configure_args(self):
+ # Disable egl, otherwise configure fails with:
+ # error: Package requirements (egl) were not met
+ # Package 'egl', required by 'virtual:world', not found
+ return ['--enable-egl=no']