diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-15 13:32:20 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-03-15 13:32:20 +0000 |
commit | a9dff0bde845f39b871924efb9078aaca45b7206 (patch) | |
tree | 859ff8401ddc197fdd7ba90f454500c3c18269bf /print | |
parent | 99521145c3dc50d2ec95ec4cb024c9e1cbe9ead2 (diff) | |
download | ports-a9dff0bde845f39b871924efb9078aaca45b7206.tar.gz ports-a9dff0bde845f39b871924efb9078aaca45b7206.zip |
- When running make config under ghostscript-gpl-nox11, X11 is selected by
default. Try to make X11 default off when WITHOUT_X11 is defined.
Notes
Notes:
svn path=/head/; revision=209115
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript-gpl/Makefile | 8 | ||||
-rw-r--r-- | print/ghostscript8/Makefile | 8 |
2 files changed, 12 insertions, 4 deletions
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 \ diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index b5c913bd6692..6ffb98dbf0bc 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/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 \ |