diff options
author | jmz <jmz@FreeBSD.org> | 1995-05-17 13:07:28 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-05-17 13:07:28 +0000 |
commit | a1affde034adeec14efb856af8688ea92ab44c84 (patch) | |
tree | 653aaad75fd0c4fdf61a0fc76fbeeb103510f649 /x11-servers | |
parent | 75e20d60930e7835e5fa1e640e38f19b34ad6fe5 (diff) | |
download | FreeBSD-ports-a1affde034adeec14efb856af8688ea92ab44c84.zip FreeBSD-ports-a1affde034adeec14efb856af8688ea92ab44c84.tar.gz |
Bug fixes for compilation from the O'Reilly and Associates CDROM
Reviewed by: jmz
Submitted by: Mark Murray <mark@grondar.za>
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/Makefile | 21 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/scripts/configure | 7 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 21 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/scripts/configure | 7 |
4 files changed, 12 insertions, 44 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index 8ba4081..1f2cb0c 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/Makefile @@ -3,7 +3,7 @@ # Date created: 5 January 1995 # Whom: jmz # -# $Id: Makefile,v 1.8 1995/04/26 14:45:15 jmz Exp $ +# $Id: Makefile,v 1.9 1995/05/13 05:42:15 asami Exp $ # ####################################################################### @@ -12,10 +12,9 @@ # # ####################################################################### # -# uncomment one of the 3 lines below! +# uncomment one of the 2 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_ON_CDROM = yes #X11_VIA_FTP = yes #if you are compiling from a cdrom, set the directory where the @@ -35,10 +34,6 @@ IS_INTERACTIVE= yes MAINTAINER= jmz@FreeBSD.ORG -.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) do-build: @@ -70,18 +65,12 @@ do-extract: @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" .else do-fetch: - @echo Please set one of the 3 variables X11_ON_X_CDROM, X11_ON_OR_CDROM, or X11_VIA_FTP + @echo Please set one of the 2 variables X11_ON_CDROM or X11_VIA_FTP @echo before building ${PKGNAME} @false do-extract: @@ -89,7 +78,7 @@ do-extract: do-configure: @echo -n do-build: - @echo Please set one of the 3 variables X11_ON_X_CDROM, X11_ON_OR_CDROM, or X11_VIA_FTP + @echo Please set one of the 2 variables X11_ON_X_CDROM or X11_VIA_FTP @echo before building ${PKGNAME} @false do-install: diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure index 3fc623a..d4d42ca 100644 --- a/x11-servers/XFree86-4-Server-snap/scripts/configure +++ b/x11-servers/XFree86-4-Server-snap/scripts/configure @@ -35,12 +35,7 @@ if [ -f $WRKDIR/.cdrom ]; then pl=01 fi echo "==> building the tree (please wait)" - 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 + (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) else X11FIXES=`cat $WRKDIR/.ftp` pl=12 diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 8ba4081..1f2cb0c 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -3,7 +3,7 @@ # Date created: 5 January 1995 # Whom: jmz # -# $Id: Makefile,v 1.8 1995/04/26 14:45:15 jmz Exp $ +# $Id: Makefile,v 1.9 1995/05/13 05:42:15 asami Exp $ # ####################################################################### @@ -12,10 +12,9 @@ # # ####################################################################### # -# uncomment one of the 3 lines below! +# uncomment one of the 2 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_ON_CDROM = yes #X11_VIA_FTP = yes #if you are compiling from a cdrom, set the directory where the @@ -35,10 +34,6 @@ IS_INTERACTIVE= yes MAINTAINER= jmz@FreeBSD.ORG -.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) do-build: @@ -70,18 +65,12 @@ do-extract: @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" .else do-fetch: - @echo Please set one of the 3 variables X11_ON_X_CDROM, X11_ON_OR_CDROM, or X11_VIA_FTP + @echo Please set one of the 2 variables X11_ON_CDROM or X11_VIA_FTP @echo before building ${PKGNAME} @false do-extract: @@ -89,7 +78,7 @@ do-extract: do-configure: @echo -n do-build: - @echo Please set one of the 3 variables X11_ON_X_CDROM, X11_ON_OR_CDROM, or X11_VIA_FTP + @echo Please set one of the 2 variables X11_ON_X_CDROM or X11_VIA_FTP @echo before building ${PKGNAME} @false do-install: diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure index 3fc623a..d4d42ca 100644 --- a/x11-servers/XFree86-4-Server/scripts/configure +++ b/x11-servers/XFree86-4-Server/scripts/configure @@ -35,12 +35,7 @@ if [ -f $WRKDIR/.cdrom ]; then pl=01 fi echo "==> building the tree (please wait)" - 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 + (cd $WRKDIR; sh $FILESDIR/maketree $X11R6) else X11FIXES=`cat $WRKDIR/.ftp` pl=12 |