diff options
author | jmz <jmz@FreeBSD.org> | 1995-03-24 05:20:44 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-03-24 05:20:44 +0800 |
commit | 896ab93bea1c8701e0411e06de19021fada20260 (patch) | |
tree | dea0efbfd51080bc13b2426f14dfceef0ccae457 /x11/XFree86/scripts | |
parent | 24ae85fec01ca14f008affbe50bff4e2c0f6b03d (diff) | |
download | freebsd-ports-gnome-896ab93bea1c8701e0411e06de19021fada20260.tar.gz freebsd-ports-gnome-896ab93bea1c8701e0411e06de19021fada20260.tar.zst freebsd-ports-gnome-896ab93bea1c8701e0411e06de19021fada20260.zip |
Here is a patch for XFree86 to allow the proud owner of "The X Companion
CD for R6" from O'Reilly and Associates, Inc, to mount and compile X on
this CD. I have tried to create this patch in such a way that if any other
CD's come along, they can be kluged in too.
Submitted by: Mark Murray <mark@grondar.za>
Diffstat (limited to 'x11/XFree86/scripts')
-rw-r--r-- | x11/XFree86/scripts/configure | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure index 6c7d84ec2671..7fead4cae3d8 100644 --- a/x11/XFree86/scripts/configure +++ b/x11/XFree86/scripts/configure @@ -28,14 +28,19 @@ if [ -f $WRKDIR/.cdrom ]; then yesno "Is your cdrom distibution already patched? [y] "; if [ $answ = YES ]; then echo -n "What is the patchlevel of the distribution? [3] "; - read pl; if [ X$pl = X ]; then pl=3; fi + read pl; if [ X$pl = X ]; then pl=5; fi pl=`expr $pl + 1` if [ $pl -lt 10 ]; then pl=0$pl; fi else pl=01 fi echo "==> building the tree (please wait)" - (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) + if [ -f ${WRKDIR}/.cd_OR ] ; then + (cd $WRKDIR; cp $X11R6/xc/config/util/lndir.c .; cc -o lndir lndir.c; mkdir ./xc; ./lndir $X11R6/xc ./xc) + fi + if [ -f ${WRKDIR}/.cd_X ] ; then + (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) + fi else X11FIXES=`cat $WRKDIR/.ftp` pl=01 |