blob: e48165c1e9e26fe3569e3ec2b960dcaa5c2c90bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#!/bin/sh
# configuration scripts for imake/XFree86
F=${WRKDIR}/.config
configure () {
rm -f $F
if [ ${OSVERSION} -ge 300000 -a X${HasSecureRPC} != "X" ]; then
echo "#define HasSecureRPC ${HasSecureRPC}" >> $F
fi
if [ X${HasXdmAuth} != "X" ]; then
echo "#define HasXdmAuth ${HasXdmAuth}" >> $F
fi
if [ X${HasPam} != "X" ]; then
echo "#define HasPam ${HasPam}" >> $F
fi
if [ X${BuildPexExt} != "X" ]; then
echo "#define BuildPexExt ${BuildPexExt}" >> $F
fi
if [ X${BuildXinerama} != "X" ]; then
echo "#define BuildXinerama ${BuildXinerama}" >> $F
fi
if [ X${BuildXIE} != "X" ]; then
echo "#define BuildXIE ${BuildXIE}" >> $F
fi
cat >> $F <<EOF
#ifndef XF86CardDrivers
#ifdef i386Architecture
#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
neomagic i740 tdfx \
cirrus tseng trident chips apm \
GlideDriver fbdev \
ati r128 AgpGartDrivers cyrix \
vga XF86OSCardDrivers XF86ExtraCardDrivers
#else
#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
neomagic i740 tdfx \
cirrus tseng trident chips apm \
GlideDriver fbdev \
ati r128 cyrix \
vga XF86OSCardDrivers XF86ExtraCardDrivers
#endif
#endif
EOF
echo "#define XInputDrivers mouse dynapro elo2300 elographics magellan \
microtouch mutouch spaceorb wacom" >> $F
}
configure
cat $F >> ${WRKDIR}/xc/config/cf/xf86site.def
echo "#define ProjectRoot ${PREFIX}" > ${WRKDIR}/xc/config/cf/host.def
cd ${WRKDIR}/xc
make Makefile.boot
make -f xmakefile SUBDIRS="include config" VerifyOS Makefiles includes
|