Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 21:29:55 GMT
From:      Vaclav Zeman <vhaisman@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185049: fix dblatex port for TEX_DEFAULT=texlive
Message-ID:  <201312202129.rBKLTtZn029830@oldred.freebsd.org>
Resent-Message-ID: <201312202140.rBKLe1mt057613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185049
>Category:       ports
>Synopsis:       fix dblatex port for TEX_DEFAULT=texlive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 20 21:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Vaclav Zeman
>Release:        9.2
>Organization:
None Inc.
>Environment:
FreeBSD fbsd.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The attached patch fixes installation of textproc/dblatex for me when I am using TEX_DEFAULT=texlive.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.original	2013-12-20 12:39:11.000000000 +0100
+++ Makefile	2013-12-20 12:41:25.000000000 +0100
@@ -10,7 +10,11 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	johnson.peter@gmail.com
 COMMENT=	DocBook to LaTeX/ConTeXt Publishing
 
+.if ${TEX_DEFAULT} == "texlive"
+BUILD_DEPENDS=	${LOCALBASE}/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty:${PORTSDIR}/print/texlive-texmf
+.else
 BUILD_DEPENDS=	${LOCALBASE}/share/texmf-local/tex/latex/ifxetex/ifxetex.sty:${PORTSDIR}/print/ifxetex
+.endif
 RUN_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt \
 		${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312202129.rBKLTtZn029830>