blob: 0eacb0c39ac8d237cba0c2029f8a141a021c089f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
xserver_source="/tmp/x11-build/xorg-server-1.9.3"
# Let these just fail to build. In any case, an "exit 1"
# here is just plain wrong.
#if [ ! -d "$xserver_source" ]; then
# echo "$xserver_source does not exist, and you need it."
# exit 1
#fi
CFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
CXXFLAGS="$SLKCFLAGS -I${xserver_source}/hw/xfree86/ramdac" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \
--disable-static \
--with-xserver-source=${xserver_source} \
--build=$ARCH-slackware-linux
|