summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-26 15:55:59 +0000
committerbapt <bapt@FreeBSD.org>2013-03-26 15:55:59 +0000
commitf73c736077ae7155788121e76439141694581f69 (patch)
treee6f2e21741cb15ff404944dbfd8dc3aad2717a8f /Mk
parentd611a7818ed16541db9ac2147cb51c1a5193eb55 (diff)
downloadFreeBSD-ports-f73c736077ae7155788121e76439141694581f69.zip
FreeBSD-ports-f73c736077ae7155788121e76439141694581f69.tar.gz
ghostscript7 is very very outdated consider using newer version like print/ghostscript9
Approved by: doceng (gjb)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index ec5520d..0273d2b 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2127,7 +2127,7 @@ _USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_RUN}
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT}
.endif
-.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[789])
+.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[89])
_USE_GHOSTSCRIPT_DEFAULT_VER= ${WITH_GHOSTSCRIPT_VER}
.else
_USE_GHOSTSCRIPT_DEFAULT_VER= 9
@@ -2139,8 +2139,8 @@ _USE_GHOSTSCRIPT_PKGNAME_SUFFIX=
. else
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11
. endif
-. if !empty(_USE_GHOSTSCRIPT:M[789])
-_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[789]}
+. if !empty(_USE_GHOSTSCRIPT:M[89])
+_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[89]}
. else
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
. endif
@@ -2150,7 +2150,7 @@ _USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
# Sanity check
.if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER)
-. if empty(WITH_GHOSTSCRIPT_VER:M[789])
+. if empty(WITH_GHOSTSCRIPT_VER:M[89])
. error You set an invalid value "${WITH_GHOSTSCRIPT_VER}" in WITH_GHOSTSCRIPT_VER. Abort.
. elif ${_USE_GHOSTSCRIPT_VER} != ${WITH_GHOSTSCRIPT_VER}
. error You set WITH_GHOSTSCRIPT_VER as ${WITH_GHOSTSCRIPT_VER} but ${PKGNAME} requires print/ghostscript${_USE_GHOSTSCRIPT_VER}. Abort.
OpenPOWER on IntegriCloud