aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/scripts/configure
blob: 267479720d4d2af7092c5cc7947e42ae935d882f (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
#!/bin/sh

LOCALDEF=$WRKDIR/.config

rm -f $LOCALDEF
echo "#define InstallXserverSetUID ${SUID_XSERVER}" >> $LOCALDEF
echo "#define JoystickSupport NO"		>> $LOCALDEF
echo "#define BuildLBX NO"			>> $LOCALDEF
echo "#define XnestServer NO"			>> $LOCALDEF
echo "#define BuildFontServer NO"		>> $LOCALDEF
echo "#define XVirtualFramebufferServer NO"	>> $LOCALDEF
echo "#define XprtServer NO"			>> $LOCALDEF
echo "#define LibInstall NO"			>> $LOCALDEF
echo "#define ForceNormalLib NO"		>> $LOCALDEF
echo "#define XTrueTypeInstallCConvHeaders NO"	>> $LOCALDEF
echo "#define BuildServer YES"			>> $LOCALDEF
echo "#define BuildXprint NO"			>> $LOCALDEF
echo "#define BuildLibraries NO"		>> $LOCALDEF
echo "#define LibInstallBuild YES"		>> $LOCALDEF
echo "#define ModInstall YES"			>> $LOCALDEF
echo "#define XF86Server NO"			>> $LOCALDEF
echo "#define BuildServersOnly YES"		>> $LOCALDEF
echo "#define BuildGLXLibrary YES"		>> $LOCALDEF
echo "#define UseInstalledPrograms YES"		>> $LOCALDEF
echo "#define StandardIncludes -I${PREFIX}/include" >> $LOCALDEF
echo "#define BuildXFree86ConfigTools YES"	>> $LOCALDEF

if [ X$WITH_DEBUG != X ]; then
	export CFLAGS="-g $CFLAGS"
	echo "#define InstPgmFlags"		>> $LOCALDEF
	echo "#define MakeDllModules YES"	>> $LOCALDEF
fi

sh $PORTSDIR/x11-servers/xorg-server/scripts/configure.gen