aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-Server-snap
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/XFree86-4-Server-snap')
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile191
-rw-r--r--x11-servers/XFree86-4-Server-snap/distinfo3
-rw-r--r--x11-servers/XFree86-4-Server-snap/pkg-comment1
-rw-r--r--x11-servers/XFree86-4-Server-snap/pkg-descr4
-rw-r--r--x11-servers/XFree86-4-Server-snap/pkg-message5
-rw-r--r--x11-servers/XFree86-4-Server-snap/pkg-message-drm11
-rw-r--r--x11-servers/XFree86-4-Server-snap/pkg-plist176
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure139
8 files changed, 0 insertions, 530 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
deleted file mode 100644
index 0ea44d5cbce4..000000000000
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ /dev/null
@@ -1,191 +0,0 @@
-# New ports collection makefile for: XFree86-Server
-# Date created: 10 Oct 1999
-# Whom: taguchi@tohoku.iij.ad.jp
-#
-# $FreeBSD$
-#
-
-PORTNAME= Server
-PORTVERSION= 4.1.0
-PORTREVISION= 4
-CATEGORIES= x11-servers
-MASTER_SITES= ${MASTER_SITE_XFREE}
-MASTER_SITE_SUBDIR= 4.1.0
-PKGNAMEPREFIX= XFree86-
-DISTFILES= X410src-1.tgz
-EXTRACT_ONLY= X410src-1.tgz
-
-MAINTAINER= taguchi@tohoku.iij.ad.jp
-
-XFREE86_VERSION= 4
-USE_IMAKE= YES
-DIST_SUBDIR= xc
-WRKSRC= ${WRKDIR}/xc
-PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files
-SCRIPTS_ENV= OSVERSION=${OSVERSION} \
- HasXdmAuth=${HasXdmAuth} \
- HasSecureRPC=${HasSecureRPC} \
- HasPam=${HasPam} \
- ExtendedInputDevices=${ExtendedInputDevices} \
- BuildXF86DRI=${BuildXF86DRI} \
- BuildXF86DRM=${BuildXF86DRM} \
- HaveMatroxHal=${HaveMatroxHal}
-MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS=
-MAKE_ARGS= WORLDOPTS=
-ALL_TARGET= FreeBSDPortsBuild
-INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man
-MAN1= XFree86.1 \
- Xserver.1 \
- kbd_mode.1 \
- pcitweak.1 \
- scanpci.1 \
- xf86cfg.1 \
- xf86config.1
-MAN3= XF86VidMode.3 \
- XF86VidModeDeleteModeLine.3 \
- XF86VidModeGetAllModeLines.3 \
- XF86VidModeGetModeLine.3 \
- XF86VidModeGetMonitor.3 \
- XF86VidModeGetViewPort.3 \
- XF86VidModeLockModeSwitch.3 \
- XF86VidModeModModeLine.3 \
- XF86VidModeQueryExtension.3 \
- XF86VidModeQueryVersion.3 \
- XF86VidModeSetViewPort.3 \
- XF86VidModeSwitchMode.3 \
- XF86VidModeSwitchToMode.3
-MAN4= mga.4 \
- tdfx.4 \
- glint.4 \
- s3virge.4 \
- rendition.4 \
- savage.4 \
- nv.4 \
- siliconmotion.4 \
- vga.4 \
- vmware.4 \
- keyboard.4 \
- mouse.4
-MAN5= XF86Config.5
-PKGMESSAGE= ${WRKDIR}/.pkg-message
-
-.include <bsd.port.pre.mk>
-
-# XFree86 User Config:
-# ---
-# Name Default Meaning
-# ----------------------------------------------------------------------------
-# HasXdmAuth YES support XDM-AUTHORIZATION-1.
-# HasSecureRPC YES build with SecureRPC (require FreeBSD-3 or later)
-# HasPam YES support PAM (require FreeBSD-3.1 or later)
-# ExtendedInputDevices YES support extended input devices
-HasXdmAuth?= DEFAULT
-HasSecureRPC?= DEFAULT
-HasPam?= DEFAULT
-ExtendedInputDevices?= DEFAULT
-.if (exists(/sys) || exists(/usr/src/sys))
-BuildXF86DRI= YES
-PLIST_SUB+= DRI=""
-.else
-pre-fetch::
- @${ECHO_MSG} "DRI would not build: kernel source required in /sys."
-BuildXF86DRI= NO
-PLIST_SUB+= DRI="@comment "
-.endif # have /sys
-# DRM and DRI kernel modules bundled with 4.1.0 are broken
-BuildXF86DRM= NO
-PLIST_SUB+= DRI_KMOD="@comment "
-
-.if ${ARCH} == i386
-PLIST_SUB+= I386:=""
-MAN4+= apm.4 \
- chips.4 \
- cirrus.4 \
- cyrix.4 \
- fbdev.4 \
- fbdevhw.4 \
- i128.4 \
- i740.4 \
- i810.4 \
- neomagic.4 \
- r128.4 \
- sis.4 \
- trident.4 \
- tseng.4 \
- vesa.4
-.else
-PLIST_SUB+= I386:="@comment "
-.endif
-
-.if ${ExtendedInputDevices} == DEFAULT || ${ExtendedInputDevices} == YES
-PLIST_SUB+= XIE:=""
-MAN4+= citron.4 \
- dynapro.4 \
- elographics.4 \
- microtouch.4 \
- mutouch.4 \
- wacom.4 \
- void.4
-.else
-PLIST_SUB+= XIE:="@comment "
-.endif
-
-.if ${BuildXF86DRI} == YES
-.if !defined(WITH_MATROX_GXX_DRIVER)
-HaveMatroxHal= NO
-PLIST_SUB+= MATROX="@comment "
-pre-fetch::
- @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official Matrox drivers for"
- @${ECHO_MSG} "the G200, G400, G450 and G550 graphic adapters."
-.else
-NO_PACKAGE= "Matrox drivers may not be distributed."
-HaveMatroxHal= YES
-MGA_DRIVER_VERSION= 133_143
-MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION}/
-DISTFILES+= mga-${MGA_DRIVER_VERSION}-source.tgz
-EXTRACT_ONLY+= mga-${MGA_DRIVER_VERSION}-source.tgz
-PLIST_SUB+= MATROX=""
-post-patch::
- @(cd ${WRKSRC}; \
- ${MV} programs/Xserver/hw/xfree86/drivers/mga \
- programs/Xserver/hw/xfree86/drivers/mga.old; \
- ${MV} ../mgasource/mga-1.4.3/mga programs/Xserver/hw/xfree86/drivers)
-post-install::
- ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README ${PREFIX}/lib/X11/doc/README.mga
- ${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README_HALLIB ${PREFIX}/lib/X11/doc/README.mga_HALLIB
-.endif # !WITH_MATROX_GXX_DRIVER
-.endif
-
-.if ${HasXdmAuth} == DEFAULT || ${HasXdmAuth} == YES
-.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-pre-everything::
- @${ECHO_MSG} "Assuming that you have fetched a USA-Legal Wraphelp.c."
-.else
-MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
- ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
- ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
-DISTFILES+= Wraphelp.c
-IGNOREFILES= Wraphelp.c
-.endif # USA_RESIDENT
-.endif # HasXdmAuth
-
-do-configure:
- cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
-
-.if ${BuildXF86DRM} == "YES"
-pre-install:
- ${MKDIR} ${PREFIX}/lib/X11/kernel
-.endif
-
-post-build:
- @${RM} -f ${PKGMESSAGE}
-.if ${BuildXF86DRM} == "YES"
- @${CAT} ${.CURDIR}/pkg-message-drm > ${PKGMESSAGE}
-.endif
- @${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE}
-
-post-install::
- @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
- strip ${PREFIX}/bin/XFree86
-
-.include <bsd.port.post.mk>
diff --git a/x11-servers/XFree86-4-Server-snap/distinfo b/x11-servers/XFree86-4-Server-snap/distinfo
deleted file mode 100644
index 9b56bde72df7..000000000000
--- a/x11-servers/XFree86-4-Server-snap/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32
-MD5 (xc/Wraphelp.c) = IGNORE
-MD5 (xc/mga-133_143-source.tgz) = 849bf57f23f1684fea970459f919d1f2
diff --git a/x11-servers/XFree86-4-Server-snap/pkg-comment b/x11-servers/XFree86-4-Server-snap/pkg-comment
deleted file mode 100644
index 1ca8c042c1e7..000000000000
--- a/x11-servers/XFree86-4-Server-snap/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-XFree86-4 X server and related programs
diff --git a/x11-servers/XFree86-4-Server-snap/pkg-descr b/x11-servers/XFree86-4-Server-snap/pkg-descr
deleted file mode 100644
index 2f1152683c92..000000000000
--- a/x11-servers/XFree86-4-Server-snap/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-This package contains X server and its related programs,
-such as xf86config, SuperProbe, kbd_mode, and so on.
-
-WWW: http://www.xfree86.org/
diff --git a/x11-servers/XFree86-4-Server-snap/pkg-message b/x11-servers/XFree86-4-Server-snap/pkg-message
deleted file mode 100644
index ea2e24612085..000000000000
--- a/x11-servers/XFree86-4-Server-snap/pkg-message
+++ /dev/null
@@ -1,5 +0,0 @@
-************************************************************************
-* To improve security, the X server is installed without an SUID bit. *
-* This is suitable for use with xdm, but not with a startx script. *
-* If you need to use a startx script, install the x11/wrapper package. *
-************************************************************************
diff --git a/x11-servers/XFree86-4-Server-snap/pkg-message-drm b/x11-servers/XFree86-4-Server-snap/pkg-message-drm
deleted file mode 100644
index d908ba10b2a7..000000000000
--- a/x11-servers/XFree86-4-Server-snap/pkg-message-drm
+++ /dev/null
@@ -1,11 +0,0 @@
-To use the Direct Rendering Infrastructure, you need to do the following:
-
-- Enable agp support in your kernel, or load the agp kernel module at
- boot time. You can do this by editing /boot/loader.conf(5)
-- Load the appropriate kernel module from /usr/X11R6/lib/X11/kernel at
- boot time:
- - tdfx.ko for 3Dfx cards
- - mga.ko for Matrox G200/G400/G450
-- Add the following lines to the "Module" section of your XF86Config:
- Load "glx"
- Load "dri"
diff --git a/x11-servers/XFree86-4-Server-snap/pkg-plist b/x11-servers/XFree86-4-Server-snap/pkg-plist
deleted file mode 100644
index 906a6bb10c95..000000000000
--- a/x11-servers/XFree86-4-Server-snap/pkg-plist
+++ /dev/null
@@ -1,176 +0,0 @@
-bin/X
-bin/XFree86
-%%XIE:%%bin/joycal
-bin/kbd_mode
-bin/pcitweak
-bin/scanpci
-bin/xf86cfg
-bin/xf86config
-lib/X11/app-defaults/XF86Cfg
-lib/X11/Cards
-lib/X11/Options
-lib/X11/XF86Config.98
-lib/X11/XF86Config.eg
-lib/X11/doc/BugReport
-lib/X11/doc/DESIGN
-lib/X11/doc/Install
-lib/X11/doc/LICENSE
-lib/X11/doc/README
-lib/X11/doc/README.DECtga
-lib/X11/doc/README.DGA
-lib/X11/doc/README.DRI
-lib/X11/doc/README.DRIcomp
-%%I386:%%lib/X11/doc/README.I128
-%%I386:%%lib/X11/doc/README.SiS
-%%I386:%%lib/X11/doc/README.apm
-%%I386:%%lib/X11/doc/README.ati
-%%I386:%%lib/X11/doc/README.chips
-%%I386:%%lib/X11/doc/README.cyrix
-lib/X11/doc/README.dps
-lib/X11/doc/README.fonts
-%%I386:%%lib/X11/doc/README.i740
-%%I386:%%lib/X11/doc/README.i810
-%%MATROX%%lib/X11/doc/README.mga
-%%MATROX%%lib/X11/doc/README.mga_HALLIB
-lib/X11/doc/README.mouse
-%%I386:%%lib/X11/doc/README.newport
-%%I386:%%lib/X11/doc/README.r128
-lib/X11/doc/README.rapidaccess
-lib/X11/doc/README.rendition
-lib/X11/doc/README.s3virge
-lib/X11/doc/ServersOnly
-lib/X11/doc/Status
-lib/X11/doc/Versions
-lib/X11/doc/VideoBoard98
-lib/X11/etc/Xinstall.sh
-lib/X11/etc/sun.termcap
-lib/X11/etc/sun.terminfo
-lib/X11/etc/xmodmap.std
-%%DRI_KMOD%%lib/X11/kernel/drm.ko
-%%DRI_KMOD%%lib/X11/kernel/gamma.ko
-%%DRI_KMOD%%lib/X11/kernel/mga.ko
-%%DRI_KMOD%%lib/X11/kernel/tdfx.ko
-%%DRI_KMOD%%@dirrm lib/X11/kernel
-lib/X11/xserver/SecurityPolicy
-lib/modules/codeconv/libARABIC.a
-lib/modules/codeconv/libARMSCII8.a
-lib/modules/codeconv/libBIG5.a
-lib/modules/codeconv/libBIG5HKSCS.a
-lib/modules/codeconv/libDOSENCODING.a
-lib/modules/codeconv/libGB2312.a
-lib/modules/codeconv/libGBK.a
-lib/modules/codeconv/libGEORGIAN.a
-lib/modules/codeconv/libISO8859_1.a
-lib/modules/codeconv/libISO8859_10.a
-lib/modules/codeconv/libISO8859_11.a
-lib/modules/codeconv/libISO8859_14.a
-lib/modules/codeconv/libISO8859_15.a
-lib/modules/codeconv/libISO8859_2.a
-lib/modules/codeconv/libISO8859_3.a
-lib/modules/codeconv/libISO8859_4.a
-lib/modules/codeconv/libISO8859_5.a
-lib/modules/codeconv/libISO8859_6.a
-lib/modules/codeconv/libISO8859_7.a
-lib/modules/codeconv/libISO8859_8.a
-lib/modules/codeconv/libISO8859_9.a
-lib/modules/codeconv/libJISX0201.a
-lib/modules/codeconv/libJISX0208.a
-lib/modules/codeconv/libJISX0212.a
-lib/modules/codeconv/libKOI8.a
-lib/modules/codeconv/libKSC5601.a
-lib/modules/codeconv/libKSCJOHAB.a
-lib/modules/codeconv/libMULEENCODING.a
-lib/modules/codeconv/libTCVN.a
-lib/modules/codeconv/libVISCII.a
-%%DRI%%lib/modules/dri/gamma_dri.so
-%%I386:%%%%DRI%%lib/modules/dri/i810_dri.so
-%%DRI%%lib/modules/dri/mga_dri.so
-%%DRI%%lib/modules/dri/radeon_dri.so
-%%I386:%%%%DRI%%lib/modules/dri/r128_dri.so
-%%I386:%%%%DRI%%lib/modules/dri/sis_dri.so
-%%I386:%%lib/modules/drivers/apm_drv.o
-%%I386:%%lib/modules/drivers/ark_drv.o
-%%I386:%%lib/modules/drivers/ati_drv.o
-%%I386:%%lib/modules/drivers/atimisc_drv.o
-%%I386:%%lib/modules/drivers/chips_drv.o
-%%I386:%%lib/modules/drivers/cirrus_alpine.o
-%%I386:%%lib/modules/drivers/cirrus_drv.o
-%%I386:%%lib/modules/drivers/cirrus_laguna.o
-%%I386:%%lib/modules/drivers/cyrix_drv.o
-%%I386:%%lib/modules/drivers/fbdev_drv.o
-lib/modules/drivers/glint_drv.o
-%%I386:%%lib/modules/drivers/i128_drv.o
-%%I386:%%lib/modules/drivers/i740_drv.o
-%%I386:%%lib/modules/drivers/i810_drv.o
-lib/modules/drivers/mga_drv.o
-%%MATROX%%lib/modules/drivers/mga_hal_drv.o
-%%I386:%%lib/modules/drivers/neomagic_drv.o
-lib/modules/drivers/nv_drv.o
-%%I386:%%lib/modules/drivers/r128_drv.o
-%%I386:%%lib/modules/drivers/radeon_drv.o
-lib/modules/drivers/rendition_drv.o
-lib/modules/drivers/s3virge_drv.o
-lib/modules/drivers/savage_drv.o
-lib/modules/drivers/siliconmotion_drv.o
-%%I386:%%lib/modules/drivers/sis_drv.o
-lib/modules/drivers/tdfx_drv.o
-lib/modules/drivers/tga_drv.o
-%%I386:%%lib/modules/drivers/trident_drv.o
-%%I386:%%lib/modules/drivers/tseng_drv.o
-%%I386:%%lib/modules/drivers/vesa_drv.o
-lib/modules/drivers/vga_drv.o
-%%I386:%%lib/modules/drivers/vmware_drv.o
-lib/modules/extensions/libGLcore.a
-lib/modules/extensions/libdbe.a
-%%DRI%%lib/modules/extensions/libdri.a
-lib/modules/extensions/libextmod.a
-lib/modules/extensions/libglx.a
-lib/modules/extensions/libpex5.a
-lib/modules/extensions/librecord.a
-lib/modules/extensions/libxie.a
-lib/modules/fonts/libbitmap.a
-lib/modules/fonts/libfreetype.a
-lib/modules/fonts/libspeedo.a
-lib/modules/fonts/libtype1.a
-lib/modules/fonts/libxtt.a
-%%DRI%%lib/modules/freebsd/libdrm.a
-%%XIE:%%lib/modules/input/citron_drv.o
-%%XIE:%%lib/modules/input/digitaledge_drv.o
-%%XIE:%%lib/modules/input/dynapro_drv.o
-%%XIE:%%lib/modules/input/elo2300_drv.o
-%%XIE:%%lib/modules/input/elographics_drv.o
-%%XIE:%%lib/modules/input/joystick_drv.o
-%%XIE:%%lib/modules/input/magellan_drv.o
-%%XIE:%%lib/modules/input/microtouch_drv.o
-lib/modules/input/mouse_drv.o
-%%XIE:%%lib/modules/input/mutouch_drv.o
-%%XIE:%%lib/modules/input/spaceorb_drv.o
-%%XIE:%%lib/modules/input/summa_drv.o
-%%XIE:%%lib/modules/input/void_drv.o
-%%XIE:%%lib/modules/input/wacom_drv.o
-lib/modules/libafb.a
-lib/modules/libcfb.a
-lib/modules/libcfb16.a
-lib/modules/libcfb24.a
-lib/modules/libcfb32.a
-lib/modules/libddc.a
-lib/modules/libfb.a
-lib/modules/libi2c.a
-lib/modules/libint10.a
-lib/modules/libmfb.a
-lib/modules/libpcidata.a
-lib/modules/librac.a
-lib/modules/libramdac.a
-lib/modules/libscanpci.a
-lib/modules/libshadow.a
-lib/modules/libshadowfb.a
-lib/modules/libvbe.a
-lib/modules/libvgahw.a
-lib/modules/libxaa.a
-lib/modules/libxf1bpp.a
-lib/modules/libxf24_32bpp.a
-lib/modules/libxf4bpp.a
-lib/modules/libxf8_16bpp.a
-lib/modules/libxf8_32bpp.a
-lib/modules/v10002d.uc
-lib/modules/v20002d.uc
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
deleted file mode 100644
index 1d95a8262adf..000000000000
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ /dev/null
@@ -1,139 +0,0 @@
-#!/bin/sh
-
-# This scripts work as following:
-# (1) cp current xf86site.def (it may be created by imake-4 ports)
-# to ${WRKDIR}/xc/config/cf.
-# this means this ports use imake-4's config defaultly.
-# (2) Generate temporal config for compiling.
-# Some configs, such as `ForceNormalLib', `FreeBSDBuildXprog', are
-# used for compiling this ports localy. so these configs will be generated
-# this scripts. these configs will be stored to `host.def' file.
-# but this host.def will never install. use local only.
-
-ORIGDEF=$PREFIX/lib/X11/config/xf86site.def
-DESTDEF=$WRKDIR/xc/config/cf/xf86site.def
-ORIGHOSTDEF=$PREFIX/lib/X11/config/host.def
-LOCALDEF=$WRKDIR/.config
-HOSTDEF=$WRKDIR/xc/config/cf/host.def
-
-configure () {
- # Use original host.def as initial config file
- rm -f $LOCALDEF
- grep -v '#define.*ProjectRoot' $ORIGHOSTDEF >> $LOCALDEF
- echo "#define ProjectRoot $PREFIX" >> $LOCALDEF
-
- # It's good for FreeBSD ports/packages system.
- echo "#define NothingOutsideProjectRoot YES" >> $LOCALDEF
-
- # Now, We can use this configuration.
- # Thanks, Trevor Johnson <trevor@jpj.net>
- echo "#define InstallXserverSetUID NO" >> $LOCALDEF
-
- # User Config.
- if [ X$HasSecureRPC != XDEFAULT -a X$HasSecureRPC != X ]; then
- echo "#define HasSecureRPC $HasSecureRPC" >> $LOCALDEF
- fi
- if [ X$HasPam != XDEFAULT -a X$HasPam != X ]; then
- echo "#define HasPam $HasPam" >> $LOCALDEF
- fi
- if [ X$ExtendedInputDevices = XDEFAULT -o X$ExtendedInputDevices = XYES ]; then
- echo "#define XInputDrivers mouse digitaledge dynapro elo2300 \
- elographics magellan \
- microtouch mutouch spaceorb summa \
- wacom void citron" >> $LOCALDEF
- echo "#define JoystickSupport YES" >> $LOCALDEF
- else
- echo "#define XInputDrivers mouse" >> $LOCALDEF
- fi
- echo "#define BuildXF86DRI ${BuildXF86DRI}" >> $LOCALDEF
- echo "#define BuildXF86DRM ${BuildXF86DRM}" >> $LOCALDEF
-
- # Matrox driver support
- echo "#define HaveMatroxHal $HaveMatroxHal" >> $LOCALDEF
-
- # disable some configs: there are not used this ports
- for i in \
- BuildFonts \
- Build75DpiFonts \
- Build100DpiFonts \
- BuildSpeedoFonts \
- BuildType1Fonts \
- BuildCIDFonts \
- BuildCyrillicFonts \
- XnestServer \
- BuildFontServer \
- XVirtualFramebufferServer \
- XprtServer \
- LibHeaders \
- LibInstall \
- ForceNormalLib \
- XTrueTypeInstallCConvHeaders
- do \
- echo "#define $i NO" >> $LOCALDEF
- done
- echo "#define BuildServer YES" >> $LOCALDEF
- echo "#define LibInstallBuild YES" >> $LOCALDEF
- echo "#define ModInstall YES" >> $LOCALDEF
- echo "#define XF86Server YES" >> $LOCALDEF
- echo "#define BuildServersOnly YES" >> $LOCALDEF
- echo "#define BuildXFree86ConfigTools YES" >> $LOCALDEF
- cat >> $LOCALDEF <<END
-#ifndef XF86CardDrivers
-#ifdef i386Architecture
-#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
- neomagic i740 tdfx savage \
- cirrus vmware tseng trident chips apm \
- GlideDriver fbdev i128 \
- ati AgpGartDrivers DevelDrivers ark cyrix \
- siliconmotion \
- vesa vga XF86OSCardDrivers XF86ExtraCardDrivers
-#else
-#ifdef AlphaArchitecture
-#define XF86CardDrivers mga tdfx glint s3virge rendition tga \
- savage nv DevelDrivers siliconmotion vga \
- XF86OSCardDrivers XF86ExtraCardDrivers
-#endif
-#endif
-#endif
-END
- echo "#define BuildThreadStubLibrary YES" >> $LOCALDEF
- echo "#define FreeBSDBuildXxserv YES" >> $LOCALDEF
-
- # Check Wraphelp.c
- if [ $HasXdmAuth = DEFAULT ]; then
- HasXdmAuth=$(awk '/^#define.*HasXdmAuth/ {print $3}' $ORIGDEF|tail -1)
- fi
-
- cpwh=NO
- if [ $HasXdmAuth = YES ]; then
- WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c
- if [ -f $WH ] ; then
- cpwh=SOURCE
- elif [ -f $DISTDIR/xc/Wraphelp.c ] ; then
- cpwh=$DISTDIR/xc/Wraphelp.c
- else
- echo "==> You must fetch USA-legal Wraphelp.c manually"
- echo "==> and put it to ${DISTDIR}/xc/."
- exit 1
- fi
- if [ X$cpwh != XNO -a X$cpwh != XSOURCE ]; then
- tr -d '\r' < $cpwh > $WH
- fi
- fi
-
- # Copy ORIGDEF to DESTDEF
- rm -f $DESTDEF
- grep -v '#define.*HasXdmAuth' $ORIGDEF >> $DESTDEF
- if [ $cpwh = NO ] ; then
- echo "#define HasXdmAuth NO" >> $DESTDEF
- else
- echo "#define HasXdmAuth YES" >> $DESTDEF
- fi
-
- # copy generated config to host.def
- cp -f $LOCALDEF $HOSTDEF
-}
-
-cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf
-configure
-exit 0