summaryrefslogtreecommitdiffstats
path: root/xorg/libgl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/libgl/Pkgfile')
-rw-r--r--xorg/libgl/Pkgfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/xorg/libgl/Pkgfile b/xorg/libgl/Pkgfile
index 14744e47d..169229782 100644
--- a/xorg/libgl/Pkgfile
+++ b/xorg/libgl/Pkgfile
@@ -12,7 +12,7 @@ source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
build()
{
cd Mesa-$version
- ./configure --prefix=/usr \
+ ./configure $XORG_CONFIG \
--with-driver=xlib \
--disable-egl \
--disable-gallium \
@@ -20,8 +20,8 @@ build()
--disable-glw \
--without-demos
make
- install -m755 -d $PKG/usr/lib{,/xorg/modules/extensions}
- bin/minstall lib/libGL.so* $PKG/usr/lib/
+ install -m755 -d $PKG/$XORG_PREFIX/lib{,/X11/modules/extensions}
+ bin/minstall lib/libGL.so* $PKG/$XORG_PREFIX/lib/
ln -s libglx.xorg \
- $PKG/usr/lib/xorg/modules/extensions/libglx.so
+ $PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.so
}