2004-05-10 07:05:00 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
LOCALDEF=$WRKDIR/.config
|
|
|
|
|
|
|
|
rm -f $LOCALDEF
|
2004-06-19 07:51:45 +02:00
|
|
|
echo "#define InstallXserverSetUID ${SUID_XSERVER}" >> $LOCALDEF
|
2004-05-10 07:05:00 +02:00
|
|
|
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
|
2004-12-23 02:35:49 +01:00
|
|
|
echo "#define BuildXprint NO" >> $LOCALDEF
|
|
|
|
echo "#define BuildLibraries NO" >> $LOCALDEF
|
2004-05-10 07:05:00 +02:00
|
|
|
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
|
2004-06-10 09:43:39 +02:00
|
|
|
echo "#define BuildXFree86ConfigTools YES" >> $LOCALDEF
|
2005-01-13 23:52:24 +01:00
|
|
|
echo "#define DriverManDir \$(MANSOURCEPATH)4" >> $LOCALDEF
|
|
|
|
echo "#define DriverManSuffix 4x" >> $LOCALDEF
|
|
|
|
echo "#define MiscManDir \$(MANSOURCEPATH)7" >> $LOCALDEF
|
|
|
|
echo "#define MiscManSuffix 7x" >> $LOCALDEF
|
2004-05-10 07:05:00 +02:00
|
|
|
|
2005-05-18 01:37:59 +02:00
|
|
|
if [ X$OLD_KEYBOARD = XYES ]; then
|
|
|
|
echo "#define UseDeprecatedKeyboardDriver YES" >> $LOCALDEF
|
|
|
|
fi
|
|
|
|
|
2004-05-10 07:05:00 +02:00
|
|
|
if [ X$WITH_DEBUG != X ]; then
|
|
|
|
export CFLAGS="-g $CFLAGS"
|
|
|
|
echo "#define InstPgmFlags" >> $LOCALDEF
|
2005-01-02 01:32:07 +01:00
|
|
|
echo "#define MakeDllModules YES" >> $LOCALDEF
|
2004-05-10 07:05:00 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
sh $PORTSDIR/x11-servers/xorg-server/scripts/configure.gen
|