summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-10-25 15:01:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-10-25 15:01:29 +0000
commitd39599e5090a233eb737e39b3e436a9a2309a9df (patch)
tree4dd1fdfc7c549647be80432576dbb5033ac35bd8 /editors/vim
parentMy fault - ``NO_PACKAGE'' should be activated. (diff)
PERL_CFLAGS contains quotes, which breaks compilation of auto/pathdefs.c
(which is generated during vim build). This only happens when vim is built with perl support, as in package building, for example. Submitted by: tobez
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/files/patch-016
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/vim/files/patch-01 b/editors/vim/files/patch-01
index e33fd5a1da70..85b2e3a3a31d 100644
--- a/editors/vim/files/patch-01
+++ b/editors/vim/files/patch-01
@@ -94,3 +94,9 @@
- cd $(DEST_MAN); ln -s $(EVIMNAME).1 $(EVIEWNAME).1
+ cd $(DEST_MAN); ln -sf $(EVIMNAME).1 $(EVIEWNAME).1
+@@ -1939,3 +1940,4 @@
+ -@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 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' >> $@