diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 2007-06-13 16:56:37 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 2007-06-13 16:56:37 +0000 |
commit | 7409cfd447db086e87ddbedce94fed3ec66977dd (patch) | |
tree | c688106f71678c8331558f7ef3e07a6586d85a3f | |
parent | - Update to 4.7.5 (diff) |
"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 <paul@treehouse.napa.ca.us>
Reviewed by: me
Notes
Notes:
svn path=/head/; revision=193406
-rw-r--r-- | print/apsfilter/Makefile | 2 | ||||
-rw-r--r-- | 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 |