diff options
author | jmz <jmz@FreeBSD.org> | 1995-03-23 21:20:44 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-03-23 21:20:44 +0000 |
commit | 896ab93bea1c8701e0411e06de19021fada20260 (patch) | |
tree | dea0efbfd51080bc13b2426f14dfceef0ccae457 /x11/XFree86-4-libraries/Makefile | |
parent | 24ae85fec01ca14f008affbe50bff4e2c0f6b03d (diff) | |
download | FreeBSD-ports-896ab93bea1c8701e0411e06de19021fada20260.zip FreeBSD-ports-896ab93bea1c8701e0411e06de19021fada20260.tar.gz |
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-4-libraries/Makefile')
-rw-r--r-- | x11/XFree86-4-libraries/Makefile | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile index ebda544..e759bd4 100644 --- a/x11/XFree86-4-libraries/Makefile +++ b/x11/XFree86-4-libraries/Makefile @@ -1,10 +1,12 @@ -# uncomment one of the 2 lines below! -#X11_ON_CDROM = yes -X11_VIA_FTP = yes +# uncomment one of the 3 lines below! +#(X-Consortium CDROM, O'Reilly 'X-Companion' CDROM, or X by FTP (_*BIG*_) +#X11_ON_X_CDROM = yes +#X11_ON_OR_CDROM = yes +#X11_VIA_FTP = yes #if you are compiling from a cdrom, set the directory where the # the patch files are -#X11FIXES = /home/X11R6 +X11FIXES = /usr/ports/distfiles/xc #define this if you are short of space - save ~28 Mbytes #REMOVE_NOT_ESSENTIAL = yes @@ -17,6 +19,10 @@ BUILD_COOKIE?= ${WRKDIR}/.build_done EXTRACT_COOKIE?= ${WRKDIR}/.extract_done IS_INTERACTIVE= yes +.if defined(X11_ON_X_CDROM) || defined(X11_ON_OR_CDROM) +X11_ON_CDROM = yes +.endif + .if defined(X11_ON_CDROM) || defined(X11_VIA_FTP) build: configure ${BUILD_COOKIE} @@ -51,6 +57,12 @@ ${EXTRACT_COOKIE}: @mkdir -p ${WRKDIR} @echo ${X11FIXES} > ${WRKDIR}/.cdrom @${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE} +.if defined(X11_ON_X_CDROM) + ${TOUCH} ${TOUCH_FLAGS} ${WRKDIR}/.cd_X +.endif +.if defined(X11_ON_OR_CDROM) + ${TOUCH} ${TOUCH_FLAGS} ${WRKDIR}/.cd_OR +.endif .elif defined(X11_VIA_FTP) .include "Makefile.ftp" |