From 9ed235a43ffce48837fe586db4a0d16d97957956 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 7 Oct 2002 01:17:24 +0000 Subject: [PATCH] - Wipe x11* items out from device config dialog when WITHOUT_X11 is defined - Fix MASTER_SITES PR: 43708 Submitted by: Ports Fury --- print/ghostscript-gnu/Makefile | 7 ++++++- print/ghostscript7/Makefile | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile index 1d751dbdf08f..6ebbee3e365e 100644 --- a/print/ghostscript-gnu/Makefile +++ b/print/ghostscript-gnu/Makefile @@ -19,7 +19,7 @@ MASTER_SITES= ${MASTER_SITE_GNU:S/$/:gs_fonts/} \ http://www.ucatv.ne.jp/~taeko/software/gs/:lips \ http://www.humblesoft.com/pub/:epag \ http://www.epkowa.on.arena.ne.jp/pips/data/gs65_304/:eplaser \ - http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \ + http://www.hi.is.uec.ac.jp/~osamuw/gdevnpdl/:npdl \ http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/:fonts \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs705/ @@ -384,9 +384,14 @@ do-configure: ${ECHO_MSG} ">>> in do-configure ..." .if defined(BATCH) || defined(PACKAGE_BUILDING) ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.batch +.else +.if defined(WITHOUT_X11) + ${GREP} -v '^ "x11' ${SCRIPTDIR}/configure > ${WRKDIR}/configure + ${SETENV} ${SCRIPTS_ENV} ${SH} ${WRKDIR}/configure .else ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure .endif +.endif post-configure: ${ECHO_MSG} ">>> in post-configure ..." diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index 1d751dbdf08f..6ebbee3e365e 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/Makefile @@ -19,7 +19,7 @@ MASTER_SITES= ${MASTER_SITE_GNU:S/$/:gs_fonts/} \ http://www.ucatv.ne.jp/~taeko/software/gs/:lips \ http://www.humblesoft.com/pub/:epag \ http://www.epkowa.on.arena.ne.jp/pips/data/gs65_304/:eplaser \ - http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \ + http://www.hi.is.uec.ac.jp/~osamuw/gdevnpdl/:npdl \ http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/:fonts \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs705/ @@ -384,9 +384,14 @@ do-configure: ${ECHO_MSG} ">>> in do-configure ..." .if defined(BATCH) || defined(PACKAGE_BUILDING) ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.batch +.else +.if defined(WITHOUT_X11) + ${GREP} -v '^ "x11' ${SCRIPTDIR}/configure > ${WRKDIR}/configure + ${SETENV} ${SCRIPTS_ENV} ${SH} ${WRKDIR}/configure .else ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure .endif +.endif post-configure: ${ECHO_MSG} ">>> in post-configure ..."