Date: Wed, 19 Nov 2003 18:31:20 +0100 (CET) From: Stefan Walter <sw@gegenunendlich.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: glewis@FreeBSD.org Subject: ports/59482: textproc/ppower4: look for mktexlsr in PKG_PREFIX, too Message-ID: <20031119173120.DE243405D@kyuzo.dunkelkammer.void> Resent-Message-ID: <200311191740.hAJHeHkl087321@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59482 >Category: ports >Synopsis: textproc/ppower4: look for mktexlsr in PKG_PREFIX, too >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Nov 19 09:40:17 PST 2003 >Closed-Date: >Last-Modified: >Originator: Stefan Walter >Release: FreeBSD 5.1-RELEASE-p2 i386 >Organization: Infinity Approximation Task Force >Environment: System: FreeBSD kyuzo.dunkelkammer.void 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Wed Sep 24 11:41:19 CEST 2003 root@kyuzo.dunkelkammer.void:/usr/src/sys/i386/compile/KYUZO i386 >Description: Improvement as suggested by Greg Lewis: The attached patch makes the ppower4 port/package look for mktexlsr in LOCALBASE, PKG_PREFIX and /usr/local. That should find it in most cases. >How-To-Repeat: Huh? >Fix: --- ppower4-mktexlsr.patch begins here --- diff -urN ppower4.old/pkg-install ppower4/pkg-install --- ppower4.old/pkg-install Wed Nov 19 17:46:40 2003 +++ ppower4/pkg-install Wed Nov 19 18:02:35 2003 @@ -1,11 +1,13 @@ #!/bin/sh -[ -z "${LOCALBASE}" ] && LOCALBASE=/usr/local - if [ "$2" = "POST-INSTALL" ]; then echo "Updating content cache to let LaTeX know about the new style files:" if [ -x ${LOCALBASE}/bin/mktexlsr ]; then ${LOCALBASE}/bin/mktexlsr + elif [ -x ${PKG_PREFIX}/bin/mktexlsr ]; then + ${PKG_PREFIX}/bin/mktexlsr + elif [ -x /usr/local/bin/mktexlsr ]; then + /usr/local/bin/mktexlsr else echo "Could not find mktexlsr. Please run it manually to update" echo "LaTeX's content cache, or you won't be able to use the" --- ppower4-mktexlsr.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031119173120.DE243405D>