pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/teTeX3-bin Take care to quote PATH variables: th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/30e74f03ee4a
branches: trunk
changeset: 507165:30e74f03ee4a
user: tonio <tonio%pkgsrc.org@localhost>
date: Fri Jan 27 23:13:54 2006 +0000
description:
Take care to quote PATH variables: they may contains path with spaces
Fix PR pkg/32654, applying the proposed patches, thanks Peter Bex
diffstat:
print/teTeX3-bin/distinfo | 4 ++-
print/teTeX3-bin/patches/patch-aq | 57 +++++++++++++++++++++++++++++++++++++++
print/teTeX3-bin/patches/patch-ar | 13 ++++++++
3 files changed, 73 insertions(+), 1 deletions(-)
diffs (93 lines):
diff -r 74cae7840c76 -r 30e74f03ee4a print/teTeX3-bin/distinfo
--- a/print/teTeX3-bin/distinfo Fri Jan 27 22:35:13 2006 +0000
+++ b/print/teTeX3-bin/distinfo Fri Jan 27 23:13:54 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/01/24 21:51:36 tron Exp $
+$NetBSD: distinfo,v 1.5 2006/01/27 23:13:54 tonio Exp $
SHA1 (teTeX/tetex-src-3.0.tar.gz) = 7637789f7f4929694aed1b89820f5bad4753e8fc
RMD160 (teTeX/tetex-src-3.0.tar.gz) = 15a139f5f36993e4ed3583260e175cfb13ce7bcc
@@ -16,3 +16,5 @@
SHA1 (patch-ak) = ba06c10c1151173e04f3a6cc44d44a89f1933bb8
SHA1 (patch-al) = e1fc74bd6ea05176dfac4e99958f0e1281b89b3b
SHA1 (patch-ap) = 0ca7341b416842fbc00a935d6cfdb0531c4169ba
+SHA1 (patch-aq) = 4cd35bfbd559c4aed53826af45fb4b8985527004
+SHA1 (patch-ar) = c171e42d0104b69e47a085f625455f16ba14d6c1
diff -r 74cae7840c76 -r 30e74f03ee4a print/teTeX3-bin/patches/patch-aq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/teTeX3-bin/patches/patch-aq Fri Jan 27 23:13:54 2006 +0000
@@ -0,0 +1,57 @@
+$NetBSD: patch-aq,v 1.1 2006/01/27 23:13:54 tonio Exp $
+
+--- Makefile.in.orig Sun Jan 30 00:12:25 2005
++++ Makefile.in
+@@ -51,7 +51,7 @@ default: all
+ install: all
+ for dir in $(INSTDIRS); do \
+ echo making $@ in $$dir; \
+- (cd $$dir && PATH=$(scriptdir):$(bindir):$(PATH) \
++ (cd $$dir && PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(MAKE) $@) || exit 1; \
+ done
+ if test -d $(texmf) && test -f $(srcdir)/release-tetex-src.txt; then \
+@@ -64,29 +64,29 @@ install: all
+ cd texk/web2c/omegafonts; $(MAKE) install-links
+ $(srcdir)/selfautofix "$(bindir)" "$(texmf)/web2c"
+ - if test -f $(scriptdir)/mktexlsr; then \
+- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
++ TEXMFMAIN=$(texmf) PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(scriptdir)/mktexlsr; \
+ else :; fi
+ - if test -f $(scriptdir)/fmtutil-sys; then \
+- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
++ TEXMFMAIN=$(texmf) PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(scriptdir)/fmtutil-sys --all; \
+ else :; fi
+ - if test -f $(scriptdir)/texlinks; then \
+- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
++ TEXMFMAIN=$(texmf) PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(scriptdir)/texlinks; \
+ else :; fi
+ - if test -f $(scriptdir)/updmap-sys \
+- && TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
++ && TEXMFMAIN=$(texmf) PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(scriptdir)/kpsewhich --format='web2c files' updmap.cfg >/dev/null; \
+ then \
+- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
++ TEXMFMAIN=$(texmf) PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(scriptdir)/updmap-sys; \
+ else :; fi
+
+ install-exec:
+ for dir in $(INSTDIRS); do \
+ echo making $@ in $$dir; \
+- (cd $$dir && PATH=$(scriptdir):$(bindir):$(PATH) \
++ (cd $$dir && PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(MAKE) $@) || exit 1; \
+ done
+ @FMU@
+@@ -95,7 +95,7 @@ install-exec:
+ test -f texk/web2c/omegafonts/omfonts && \
+ cd texk/web2c/omegafonts; $(MAKE) install-links
+ - if test -f $(scriptdir)/texlinks; then \
+- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
++ TEXMFMAIN=$(texmf) PATH="$(scriptdir):$(bindir):$(PATH)" \
+ $(scriptdir)/texlinks; \
+ else :; fi
diff -r 74cae7840c76 -r 30e74f03ee4a print/teTeX3-bin/patches/patch-ar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/teTeX3-bin/patches/patch-ar Fri Jan 27 23:13:54 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1 2006/01/27 23:13:54 tonio Exp $
+
+--- texk/web2c/Makefile.in.orig Sun Feb 6 11:56:56 2005
++++ texk/web2c/Makefile.in
+@@ -600,7 +600,7 @@ tex-check: trip tex.fmt
+ TEXMFCNF=../kpathsea \
+ ./tex --mltex --progname=initex --ini $(srcdir)/tests/mltextst
+ -./tex </dev/null
+- -PATH=`pwd`:$(kpathsea_dir):$(kpathsea_srcdir):$$PATH \
++ -PATH="`pwd`:$(kpathsea_dir):$(kpathsea_srcdir):$$PATH" \
+ WEB2C=$(kpathsea_srcdir) TMPDIR=.. \
+ ./tex --progname=tex '\nonstopmode\font\foo=nonesuch\end'
+ clean:: tex-clean
Home |
Main Index |
Thread Index |
Old Index