diff options
author | anholt <anholt@FreeBSD.org> | 2003-03-12 07:38:11 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-03-12 07:38:11 +0800 |
commit | d580e8aa85f6c754681443742699cb344fd34220 (patch) | |
tree | a648e1f065021daba9648efa64ba27f6d5cf6100 /x11-servers/XFree86-4-VirtualFramebufferServer/scripts | |
parent | f90a815ef2ca91c396820cd38bd9e9dc860bebe9 (diff) | |
download | freebsd-ports-gnome-d580e8aa85f6c754681443742699cb344fd34220.tar.gz freebsd-ports-gnome-d580e8aa85f6c754681443742699cb344fd34220.tar.zst freebsd-ports-gnome-d580e8aa85f6c754681443742699cb344fd34220.zip |
Update XFree86 ports, including linux_dri, to 4.3.0. Set IGNORE= in dri-devel
for being outdated. Thank you to all the testers and people who submitted
patches for this update.
Approved by: portmgr
Diffstat (limited to 'x11-servers/XFree86-4-VirtualFramebufferServer/scripts')
-rw-r--r-- | x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure | 71 |
1 files changed, 33 insertions, 38 deletions
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure b/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure index 7065ae6b3640..337ae27342e8 100644 --- a/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure +++ b/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure @@ -1,14 +1,11 @@ #!/bin/sh # This script does the following: -# (1) cp current xf86site.def (it is created by the imake-4 port) +# (1) cp xf86site.def, installed by imake-4 port, # to ${WRKDIR}/xc/config/cf. -# this means this port uses imake-4's config for defaults. -# (2) Generate temporal config for compiling. -# Some configs, such as `ForceNormalLib', `FreeBSDBuildXprog', are -# used locally for compiling this port, so these configs will be generated -# by this script. These configs will be stored to the `host.def' file, -# but this host.def will never be installed. +# this provides settings for the ports system. +# (2) Create a host.def for this specific port, using +# host.def as a base. ORIGDEF=$PREFIX/lib/X11/config/xf86site.def DESTDEF=$WRKDIR/xc/config/cf/xf86site.def @@ -16,18 +13,18 @@ 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 - if [ X$InstallFSConfig = "X" ]; then - InstallFSConfig=YES - fi +# Use original host.def as initial config file +rm -f $LOCALDEF +grep -v '#define.*ProjectRoot' $ORIGHOSTDEF >> $LOCALDEF +echo "#define ProjectRoot $PREFIX" >> $LOCALDEF - # disable some configs: there are not used this ports - for i in BuildFonts \ +# This is also defined in xf86site.def, but doesn't get +# picked up for some reason. +echo "#define NothingOutsideProjectRoot YES" >> $LOCALDEF + +# disable some options +for i in BuildFonts \ Build75DpiFonts \ Build100DpiFonts \ BuildSpeedoFonts \ @@ -42,26 +39,24 @@ configure () { LibHeaders \ ForceNormalLib \ XTrueTypeInstallCConvHeaders - do \ - echo "#define $i NO" >> $LOCALDEF - done - echo "#define BuildServer YES" >> $LOCALDEF - echo "#define XVirtualFramebufferServer YES" >> $LOCALDEF - echo "#define BuildServersOnly YES" >> $LOCALDEF - echo "#define UseInstalledPrograms YES" >> $LOCALDEF - echo "#define StandardIncludes -I${PREFIX}/include" >> $LOCALDEF - echo "#define FreeBSDCC ${CC}" >> $LOCALDEF - echo "#define FreeBSDCXX ${CXX}" >> $LOCALDEF - echo "#define FreeBSDCFLAGS ${CFLAGS}" >> $LOCALDEF - - # Copy ORIGDEF to DESTDEF - rm -f $DESTDEF - cp -f $ORIGDEF $DESTDEF - - # copy generated config to host.def - cp -f $LOCALDEF $HOSTDEF -} +do \ + echo "#define $i NO" >> $LOCALDEF +done + +echo "#define BuildServer YES" >> $LOCALDEF +echo "#define XVirtualFramebufferServer YES" >> $LOCALDEF +echo "#define BuildServersOnly YES" >> $LOCALDEF +echo "#define UseInstalledPrograms YES" >> $LOCALDEF +echo "#define StandardIncludes -I${PREFIX}/include" >> $LOCALDEF +echo "#define FreeBSDCC ${CC}" >> $LOCALDEF +echo "#define FreeBSDCXX ${CXX}" >> $LOCALDEF +echo "#define FreeBSDCFLAGS ${CFLAGS}" >> $LOCALDEF + +# Copy ORIGDEF to DESTDEF +rm -f $DESTDEF +cp -f $ORIGDEF $DESTDEF + +# copy generated config to host.def +cp -f $LOCALDEF $HOSTDEF -cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf -configure exit 0 |