summaryrefslogtreecommitdiff
path: root/editors/vim/files/patch-01
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-09-21 23:49:28 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-09-21 23:49:28 +0000
commit4d446a4fadec9be8a37c141ada941567b1466b23 (patch)
tree0d35aaf7959f39806d920172bee1638798c104e4 /editors/vim/files/patch-01
parentRemove QNX support. (diff)
This removes the need for one of the patches for WITH_PERL. I've heard
vague problems with building with WITH_PERL, but I've never been able to get hard evidence. So this patch makes the whole thing OBE. It also uses the new USE_REINPLACE. Approved by: kris (portmgr)
Notes
Notes: svn path=/head/; revision=67025
Diffstat (limited to 'editors/vim/files/patch-01')
-rw-r--r--editors/vim/files/patch-012
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vim/files/patch-01 b/editors/vim/files/patch-01
index 876a0baeb202..d81da2bab293 100644
--- a/editors/vim/files/patch-01
+++ b/editors/vim/files/patch-01
@@ -103,5 +103,5 @@
-@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' >> $@
- -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' >> $@
+ -@echo 'char_u *all_cflags = (char_u *)' >> $@
-+ -@perl -le '$$_ = q|$(CC) -c -I$(srcdir) $(ALL_CFLAGS)|; s/"/\\"/g; print qq|\t"$$_";|' >> $@
++ -@echo '$(CC) -c -I$(srcdir) $(ALL_CFLAGS)' | sed -e 's/\"/\\"/g' -e 's/\(^.*\)/ "\1";/' >> $@
-@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' >> $@