diff options
author | nik <nik@FreeBSD.org> | 2001-02-25 19:02:46 +0000 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2001-02-25 19:02:46 +0000 |
commit | bd52804e0724943e5d236b4266af7e610143e9eb (patch) | |
tree | 537241c25b2bfbadb017483ed043c52570f200d4 /print/ghostscript8/Makefile | |
parent | 7cb0619ff297809b7938c669b1ec182c5ff3b5dc (diff) | |
download | FreeBSD-ports-bd52804e0724943e5d236b4266af7e610143e9eb.zip FreeBSD-ports-bd52804e0724943e5d236b4266af7e610143e9eb.tar.gz |
Honour the NO_X variable, and don't try and build the X11 output formats,
or depend on the X11 libraries, if it is set.
This should allow "make release" to work happily with the documentation
build again.
Approved by: andreas (MAINTAINER)
Diffstat (limited to 'print/ghostscript8/Makefile')
-rw-r--r-- | print/ghostscript8/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index c0c5b7e..1548a0e 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -7,7 +7,7 @@ PORTNAME= ghostscript PORTVERSION= 6.50 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/gs650/ \ ftp://ftp.fh-koblenz.de/pub/Ghostscript/aladdin/fonts/ \ @@ -39,7 +39,16 @@ LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png WRKSRC= ${WRKDIR}/gs${PORTVERSION} ALL_TARGET= all pcl3opts escputil + +.if !defined(NO_X) USE_XLIB= yes +.else +# XXX Hack. If you've done something like "-DNO_X" on the command line +# (instead of NO_X=true, or similar) gmake won't pick it up. So make sure +# that NO_X is defined *and* has a value. +MAKE_ENV+= NO_X=true +.endif + USE_GMAKE= yes MAKEFILE= src/unix-gcc.mak PLIST_SUB= GS_VERSION=${PORTVERSION} |