summaryrefslogtreecommitdiffstats
path: root/xorg/xorg-server/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/xorg-server/Pkgfile')
-rwxr-xr-xxorg/xorg-server/Pkgfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/xorg/xorg-server/Pkgfile b/xorg/xorg-server/Pkgfile
index c7ecf9fd2..909f33afe 100755
--- a/xorg/xorg-server/Pkgfile
+++ b/xorg/xorg-server/Pkgfile
@@ -14,16 +14,16 @@ source=(http://xorg.freedesktop.org/releases/individual/xserver/$name-$version.t
build() {
cd $name-$version
- ./configure --prefix=/usr --enable-dri \
- --disable-config-hal \
- --localstatedir=/var \
- --sysconfdir=/etc/X11 \
- --with-xkb-output=/var/lib/xkb
+ ./configure $XORG_CONFIG \
+ --with-module-dir=$XORG_PREFIX/lib/X11/modules \
+ --with-xkb-output=/var/lib/xkb \
+ --enable-install-setuid \
+ --disable-config-hal
sed -i 's|xorgconfddir = $(datadir)|xorgconfddir = /etc|' config/Makefile
make
make DESTDIR=$PKG install
rmdir $PKG/var/log
rm -r $PKG/usr/share/doc
- mv $PKG/usr/lib/xorg/modules/extensions/libglx.{so,xorg}
+ mv $PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.{so,xorg}
install -m644 ../15-quirks.conf $PKG/etc/X11/xorg.conf.d/15-quirks.conf
}