From owner-freebsd-ports Sun Jul 22 19:40:14 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F61337B409 for ; Sun, 22 Jul 2001 19:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6N2e0o72649; Sun, 22 Jul 2001 19:40:00 -0700 (PDT) (envelope-from gnats) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7ECF837B403 for ; Sun, 22 Jul 2001 19:38:50 -0700 (PDT) (envelope-from bradyn@maths.tcd.ie) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 23 Jul 2001 03:38:49 +0100 (BST) Message-Id: <200107230338.aa41471@gosset.maths.tcd.ie> Date: Mon, 23 Jul 2001 03:38:49 +0100 (BST) From: bradyn@maths.tcd.ie Reply-To: bradyn@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/29154: TeX resource settings in print/jadetex port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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