From a9dff0bde845f39b871924efb9078aaca45b7206 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sat, 15 Mar 2008 13:32:20 +0000 Subject: - When running make config under ghostscript-gpl-nox11, X11 is selected by default. Try to make X11 default off when WITHOUT_X11 is defined. --- print/ghostscript-gpl/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'print/ghostscript-gpl') diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index b5c913bd6692..6ffb98dbf0bc 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -45,8 +45,12 @@ OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \ ICONV "libiconv support (required by opvp/oprp drivers)" on \ JPNFONTS "Japanese font support" on \ SHLIB "With shared libraries" off \ - SVGALIB "svgalib support" off \ - X11 "X11 support" on + SVGALIB "svgalib support" off +.if defined(WITHOUT_X11) +OPTIONS+= X11 "X11 support" off +.else +OPTIONS+= X11 "X11 support" on +.endif MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 gs-pcl3.1 pcl3opts.1 \ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \ -- cgit v1.2.3