aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-25 23:01:29 +0800
committerobrien <obrien@FreeBSD.org>2001-10-25 23:01:29 +0800
commit5339feb857fd8960ae4042a57b782d5ceb1510d3 (patch)
treea452774fe75ad5891637c3e157945002454989f0 /editors
parenteb0e654f72b756dc67e030a87e51c8eb85c07d67 (diff)
downloadfreebsd-ports-gnome-5339feb857fd8960ae4042a57b782d5ceb1510d3.tar.gz
freebsd-ports-gnome-5339feb857fd8960ae4042a57b782d5ceb1510d3.tar.zst
freebsd-ports-gnome-5339feb857fd8960ae4042a57b782d5ceb1510d3.zip
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')
-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) ";' >> $@