summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-03-02 21:38:19 -0800
committerMatt Turner <mattst88@gentoo.org>2019-03-02 21:38:19 -0800
commit494bbc016c7220a6dd67df63f72370326ea840b9 (patch)
treeef7ccf40bc807fdfe1e89321092582592b9acd65 /x11-base
parentx11-apps/mkfontscale: Drop old versions (diff)
downloadgentoo-494bbc016c7220a6dd67df63f72370326ea840b9.tar.gz
gentoo-494bbc016c7220a6dd67df63f72370326ea840b9.tar.bz2
gentoo-494bbc016c7220a6dd67df63f72370326ea840b9.zip
x11-base/xorg-server: Don't eselect opengl if USE=minimal
Closes: https://bugs.gentoo.org/465110 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-server/xorg-server-1.20.4.ebuild6
-rw-r--r--x11-base/xorg-server/xorg-server-9999.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/x11-base/xorg-server/xorg-server-1.20.4.ebuild b/x11-base/xorg-server/xorg-server-1.20.4.ebuild
index 47206c7a1a76..6a9a3eb1cea4 100644
--- a/x11-base/xorg-server/xorg-server-1.20.4.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.20.4.ebuild
@@ -196,8 +196,10 @@ src_install() {
}
pkg_postinst() {
- # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
- eselect opengl set xorg-x11 --use-old
+ if ! use minimal; then
+ # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
+ eselect opengl set xorg-x11 --use-old
+ fi
}
pkg_postrm() {
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
index a34a734b15d9..187e506211e4 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -191,8 +191,10 @@ src_install() {
}
pkg_postinst() {
- # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
- eselect opengl set xorg-x11 --use-old
+ if ! use minimal; then
+ # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
+ eselect opengl set xorg-x11 --use-old
+ fi
}
pkg_postrm() {