SOURCES: vim-awk.patch (NEW) - don't use gawk if available (bug#945)

saq saq at pld-linux.org
Wed Aug 10 12:44:23 CEST 2005


Author: saq                          Date: Wed Aug 10 10:44:23 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't use gawk if available (bug#945)

---- Files affected:
SOURCES:
   vim-awk.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/vim-awk.patch
diff -u /dev/null SOURCES/vim-awk.patch:1.1
--- /dev/null	Wed Aug 10 12:44:23 2005
+++ SOURCES/vim-awk.patch	Wed Aug 10 12:44:18 2005
@@ -0,0 +1,13 @@
+--- vim63/src/Makefile.orig	2005-08-09 23:47:45.000000000 +0200
++++ vim63/src/Makefile	2005-08-09 23:48:44.000000000 +0200
+@@ -1843,9 +1843,7 @@
+ 	-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
+-	awkpath=`./which.sh nawk` && 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
++	sed -e "s+/usr/bin/nawk+/bin/awk+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk
+ 	-chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
+ 
+ # install the language specific files, if they were unpacked
================================================================



More information about the pld-cvs-commit mailing list