From 7409cfd447db086e87ddbedce94fed3ec66977dd Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Wed, 13 Jun 2007 16:56:37 +0000 Subject: "make describe" failed in top-level "make index" since ports configure script adds "-nox11" suffix even when ${GHOSTSCRIPT_PORT} is already "ghostscript-gpl-nox11". Submitted by: G. Paul Ziemba Reviewed by: me --- print/apsfilter/Makefile | 2 +- print/apsfilter/scripts/configure | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 6e825186f2a8..e339695736b4 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -7,7 +7,7 @@ PORTNAME= apsfilter PORTVERSION= 7.2.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure index 4437b8ebb728..9b968ac24210 100644 --- a/print/apsfilter/scripts/configure +++ b/print/apsfilter/scripts/configure @@ -73,7 +73,15 @@ while [ "$1" ]; do ;; \"GS_NO_X11\") echo WITHOUT_X11=yes - echo RUN_DEPENDS+=gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}-nox11 + case ${GHOSTSCRIPT_PORT} in + *-nox11) + _GSSUF="" + ;; + *) + _GSSUF=-nox11 + ;; + esac + echo RUN_DEPENDS+=gs:${PORTSDIR}/${GHOSTSCRIPT_PORT}${_GSSUF} ;; \"GS_PDF_CRYPT\") echo PDFENCRYPT=YES -- cgit v1.2.3