ports/90869: [PATCH] ports/textproc fix missing run dependency

Michael C. Shultz ringworm01 at gmail.com
Sat Dec 24 01:50:04 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list