Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 03:38:49 +0100 (BST)
From:      bradyn@maths.tcd.ie
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29154: TeX resource settings in print/jadetex port
Message-ID:  <200107230338.aa41471@gosset.maths.tcd.ie>

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

>Number:         29154
>Category:       ports
>Synopsis:       TeX resource settings from MAKE_ENV in print/jadetex port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 22 19:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Niall Brady
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
	School of Mathematics,
	Trinity College Dublin
>Environment:

* % latex -v
  TeX (Web2C 7.3.1) 3.14159
  kpathsea version 3.3.1

* Weekly cvsupped ports collection from our
  own copy of the CVS repository

>Description:

MAKE_ENV is used in the makefile to include ${FILESDIR}/TEXMFCNF,
and the system-installed texmf.cnf; however, it assumes that TeX
is installed in ${PREFIX}... instead kpsewhich could be used to
find the TeX installation path, which won't break anything, but
will allow those of us with non-standard installations to be able
to build the port.

>How-To-Repeat:

Have a slightly weird (!) installed-by-hand TeX installation like
ours, and

	cd /usr/ports/print/jadetex
	make

>Fix:

Use kpsewhich to find the path to the TeX config for MAKE_ENV.


--- /usr/ports/print/jadetex/Makefile.orig	Mon Jul 23 03:31:49 2001
+++ /usr/ports/print/jadetex/Makefile	Mon Jul 23 03:22:55 2001
@@ -16,7 +16,7 @@
 LIB_DEPENDS=		png.4:${PORTSDIR}/graphics/png
 RUN_DEPENDS=		tex:${PORTSDIR}/print/teTeX
 
-MAKE_ENV=		TEXMFCNF=${FILESDIR}:${PREFIX}/share/texmf/web2c
+MAKE_ENV=		TEXMFCNF=${FILESDIR}:`kpsewhich -expand-var '$$TEXMFMAIN'`/web2c
 USE_ZIP=		yes
 
 WRKSRC=			${WRKDIR}/${PORTNAME}
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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