531f2e7795
This makes PCI video cards work that hang off directly from the Host-to-PCI bridge in machines like the Blade 100. [1] - Default to old 'keyboard' driver for sparc64. Patches for 'kbd' one were not enough so until new driver is fixed, this change makes Xorg work with sparc64 keyboards. Knob WITH_SPARC_KBD is provided to ease efforts of fixing 'kbd'. Submitted by: marius [1]
42 lines
1.6 KiB
Bash
42 lines
1.6 KiB
Bash
#!/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
|
|
echo "#define DriverManDir \$(MANSOURCEPATH)4" >> $LOCALDEF
|
|
echo "#define DriverManSuffix 4x" >> $LOCALDEF
|
|
echo "#define MiscManDir \$(MANSOURCEPATH)7" >> $LOCALDEF
|
|
echo "#define MiscManSuffix 7x" >> $LOCALDEF
|
|
|
|
if [ X$OLD_KEYBOARD = XYES ]; then
|
|
echo "#define UseDeprecatedKeyboardDriver YES" >> $LOCALDEF
|
|
fi
|
|
|
|
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
|