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>
This commit is contained in:
Matt Turner
2019-09-25 14:52:05 -07:00
parent 1ef1b1f83c
commit 5a6deca6e4
2 changed files with 12 additions and 0 deletions
@@ -186,6 +186,12 @@ pkg_setup() {
)
}
src_prepare() {
sed -i -e 's/"gl >= .*"/"gl"/' configure.ac || die
default
eautoreconf
}
src_install() {
xorg-3_src_install
@@ -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