summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-09-25 14:50:06 -0700
committerMatt Turner <mattst88@gentoo.org>2019-09-25 14:52:05 -0700
commit5a6deca6e403ca195b255bf78d41a5da4819d617 (patch)
tree61db2e3951a3ff55017218d645838e96a7eff6f0 /x11-base/xorg-server/xorg-server-9999.ebuild
parentmedia-libs/mesa: Fix more libglvnd issues (diff)
downloadgentoo-5a6deca6e403ca195b255bf78d41a5da4819d617.tar.gz
gentoo-5a6deca6e403ca195b255bf78d41a5da4819d617.tar.bz2
gentoo-5a6deca6e403ca195b255bf78d41a5da4819d617.zip
x11-base/xorg-server: Allow building against libglvnd
Mesa's gl.pc contains a version that matches the Mesa version, but libglvnd's gl.pc version is the SO version (1.2). The Xserver checks for gl >= 7.1.0 and gl >= 9.2.0 which are very old versions of Mesa at this point, so removing the version dependency doesn't negatively affect anything and allows the Xserver to build against libglvnd. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-base/xorg-server/xorg-server-9999.ebuild')
-rw-r--r--x11-base/xorg-server/xorg-server-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
index c45093888f5..495a9b9e9a7 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -181,6 +181,12 @@ pkg_setup() {
)
}
+src_prepare() {
+ sed -i -e 's/"gl >= .*"/"gl"/' configure.ac || die
+ default
+ eautoreconf
+}
+
src_install() {
xorg-3_src_install