aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-04 07:37:06 +0800
committerbapt <bapt@FreeBSD.org>2013-05-04 07:37:06 +0800
commit6bc68e97fe51281e740511cbf120ba372a01cc6b (patch)
treed9f5a7187377e7584576524a2396c9d05a64eeb9 /Mk
parent44c6883f4d639330286f91215b1ba0d0a16dd978 (diff)
downloadfreebsd-ports-graphics-6bc68e97fe51281e740511cbf120ba372a01cc6b.tar.gz
freebsd-ports-graphics-6bc68e97fe51281e740511cbf120ba372a01cc6b.tar.zst
freebsd-ports-graphics-6bc68e97fe51281e740511cbf120ba372a01cc6b.zip
ghostscript 7 has been resurrected (this fix package building of ghostscript7 packages on packages builder
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 67584a34df1..32d47f67444 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2098,7 +2098,7 @@ _USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_RUN}
_USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT}
.endif
-.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[89])
+.if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[789])
_USE_GHOSTSCRIPT_DEFAULT_VER= ${WITH_GHOSTSCRIPT_VER}
.else
_USE_GHOSTSCRIPT_DEFAULT_VER= 9
@@ -2110,8 +2110,8 @@ _USE_GHOSTSCRIPT_PKGNAME_SUFFIX=
. else
_USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11
. endif
-. if !empty(_USE_GHOSTSCRIPT:M[89])
-_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[89]}
+. if !empty(_USE_GHOSTSCRIPT:M[789])
+_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[789]}
. else
_USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
. endif
@@ -2121,7 +2121,7 @@ _USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER}
# Sanity check
.if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER)
-. if empty(WITH_GHOSTSCRIPT_VER:M[89])
+. if empty(WITH_GHOSTSCRIPT_VER:M[789])
. 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.