summaryrefslogtreecommitdiff
path: root/print/apsfilter/scripts/configure
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2007-06-13 16:56:37 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2007-06-13 16:56:37 +0000
commit7409cfd447db086e87ddbedce94fed3ec66977dd (patch)
treec688106f71678c8331558f7ef3e07a6586d85a3f /print/apsfilter/scripts/configure
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
Diffstat (limited to 'print/apsfilter/scripts/configure')
-rw-r--r--print/apsfilter/scripts/configure10
1 files changed, 9 insertions, 1 deletions
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