Date: Fri, 23 Dec 2005 17:42:11 -0800 (PST) From: "Michael C. Shultz" <ringworm01@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: doceng@FreeBSD.org Subject: ports/90869: [PATCH] ports/textproc fix missing run dependency Message-ID: <20051224014211.C074B130C2C@ringworm.mechee.com> Resent-Message-ID: <200512240150.jBO1o3ND010263@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90869 >Category: ports >Synopsis: [PATCH] ports/textproc fix missing run dependency >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Dec 24 01:50:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Michael C. Shultz >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #1: Mon Dec 19 07:15:55 PST 2005 root@ringworm.mechee.com:/usr5/obj/usr5/src/sys/RINGWORM5 i386 >Description: Building ports/textproc with all WITH items set, specifically: WITH_JADETEX=yes WITH_GHOSTSCRIPT_AFPL=1 results in the following error if make FORMATS="html html-split txt ps pdf rtf" is run: Transcript written on book.log. /usr/local/bin/dvips -o book.ps book.dvi /usr/local/bin/dvips:No such file or directory The attached diff adds a WITH_DVIPS option that if used puts a run dependency on print/dvipsk-tetex. I have tested this diff against the handbook using make FORMATS="html html-split txt ps pdf rtf" after building docproj with WITH_JADETEX=yes WITH_GHOSTSCRIPT_AFPL=1 WITH_DVIPS=1 and all formats build with no problems. >How-To-Repeat: See Description section >Fix: --- docproj-1.13_1.diff begins here --- diff -ruN docproj/Makefile docproj-1.13_1/Makefile --- docproj/Makefile Fri Sep 3 03:13:14 2004 +++ docproj-1.13_1/Makefile Fri Dec 23 17:23:42 2005 @@ -7,6 +7,7 @@ PORTNAME= docproj PORTVERSION= 1.13 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= # empty DISTFILES= # empty @@ -51,6 +52,10 @@ .endif .if defined(WITH_JADETEX) && ${WITH_JADETEX} == yes RUN_DEPENDS+= ${LOCALBASE}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex +.endif + +.if defined(WITH_DVIPS) +RUN_DEPENDS+= ${LOCALBASE}/bin/dvips:${PORTSDIR}/print/dvipsk-tetex .endif .if ${PERL_LEVEL} < 500804 --- docproj-1.13_1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051224014211.C074B130C2C>