diff options
author | seb <seb@pkgsrc.org> | 2006-10-17 11:43:14 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2006-10-17 11:43:14 +0000 |
commit | 86c87ac0724ebfb0e1c6667ffb95715e80f67ce8 (patch) | |
tree | 21d4d7e86a8a99620419661b1d499ccfe2358b0b /editors/vim-share/patches | |
parent | c26a7e701db1a7043535762d4d21c2e8891e6d43 (diff) | |
download | pkgsrc-86c87ac0724ebfb0e1c6667ffb95715e80f67ce8.tar.gz |
Pass CHECK_WRKREF check: do not let the path on the perl tool wrapper script
be embedded in the installed share/vim/vim70/tools/efm_perl.pl script;
make this script interpreter be '${SETENV} perl' hence avoiding a run-time
package dependency on perl.
Approved by MAINTAINER.
Diffstat (limited to 'editors/vim-share/patches')
-rw-r--r-- | editors/vim-share/patches/patch-ad | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/editors/vim-share/patches/patch-ad b/editors/vim-share/patches/patch-ad index f9ccf7fecca..7c4772fad45 100644 --- a/editors/vim-share/patches/patch-ad +++ b/editors/vim-share/patches/patch-ad @@ -1,6 +1,6 @@ -$NetBSD: patch-ad,v 1.10 2006/05/10 13:27:43 tonio Exp $ +$NetBSD: patch-ad,v 1.11 2006/10/17 11:43:14 seb Exp $ ---- src/Makefile.orig 2006-05-07 15:25:27.000000000 +0200 +--- src/Makefile.orig 2006-10-17 07:00:03.000000000 +0000 +++ src/Makefile @@ -1131,26 +1131,31 @@ MOTIF_BUNDLE = ### Athena GUI @@ -51,11 +51,13 @@ $NetBSD: patch-ad,v 1.10 2006/05/10 13:27:43 tonio Exp $ cd $(HELPSOURCE); \ files=`ls *.txt tags`; \ files="$$files `ls *.??x tags-?? 2>/dev/null || true`"; \ -@@ -1897,24 +1902,24 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_ +@@ -1896,25 +1901,25 @@ installtools: $(TOOLS) $(DESTDIR)$(exec_ + fi -chmod $(FILEMOD) $(DEST_TOOLS)/* # replace the path in some tools - perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl +- perlpath=`./which.sh perl` && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl - awkpath=`./which.sh nawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \ ++ perlpath='$(TOOLS_SETENV) perl' && sed -e "s+/usr/bin/perl+$$perlpath+" $(TOOLSSOURCE)/efm_perl.pl >$(DEST_TOOLS)/efm_perl.pl + awkpath=$(TOOLS_AWK) && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \ awkpath=`./which.sh gawk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; if test -z "$$awkpath"; then \ awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi |