summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-03-15 13:32:20 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-03-15 13:32:20 +0000
commita9dff0bde845f39b871924efb9078aaca45b7206 (patch)
tree859ff8401ddc197fdd7ba90f454500c3c18269bf /print/ghostscript-gpl
parentFix build with new libkdcraw version. (diff)
- 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/ghostscript-gpl')
-rw-r--r--print/ghostscript-gpl/Makefile8
1 files changed, 6 insertions, 2 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 \