mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user