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>
This commit is contained in:
Matt Turner
2019-03-02 21:38:19 -08:00
parent 436a97fb1c
commit 494bbc016c
2 changed files with 8 additions and 4 deletions

View File

@@ -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() {

View File

@@ -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() {