diff options
author | rafan <rafan@FreeBSD.org> | 2008-03-15 21:32:20 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-03-15 21:32:20 +0800 |
commit | e93508ff1008080a9e2c5953a1a0af6c4bacbf5a (patch) | |
tree | 9586ab1aea593e8645d0d5c7a9c8755cc8a766ba /print | |
parent | a617d82b8afed5df12e998a80fddfe0bec03482b (diff) | |
download | freebsd-ports-gnome-e93508ff1008080a9e2c5953a1a0af6c4bacbf5a.tar.gz freebsd-ports-gnome-e93508ff1008080a9e2c5953a1a0af6c4bacbf5a.tar.zst freebsd-ports-gnome-e93508ff1008080a9e2c5953a1a0af6c4bacbf5a.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.
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 \ |