xorg-server: only install 20-modules.conf for musl.

it's unnecessary with glibc.
This commit is contained in:
Juan RP 2015-12-17 10:56:54 +01:00
parent e24212df0a
commit 1857a4e30d
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.18.0
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-record --enable-xorg
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
@ -64,7 +64,10 @@ pre_configure() {
esac
}
post_install() {
vinstall ${FILESDIR}/20-modules.conf 644 usr/share/X11/xorg.conf.d
case "$XBPS_TARGET_MACHINE" in
*-musl) vinstall ${FILESDIR}/20-modules.conf 644 usr/share/X11/xorg.conf.d;;
esac
vinstall ${FILESDIR}/30-nvidia-drm-outputclass.conf 644 usr/share/X11/xorg.conf.d
vinstall ${FILESDIR}/Xwrapper.config 644 etc/X11