summaryrefslogtreecommitdiff
path: root/curl/curl-7.64.1-zsh-cpl.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-18 12:37:11 +0000
committerB Stack <bgstack15@gmail.com>2019-09-18 12:37:11 +0000
commitbab4e46df0ab08070ac03aa057bd63ee7d744a90 (patch)
tree8abbed509506c4ca87de844ff57ffcd3988bdf55 /curl/curl-7.64.1-zsh-cpl.patch
parentMerge branch 'plymouth-bump' into 'master' (diff)
parentadd curl (diff)
downloadstackrpms-bab4e46df0ab08070ac03aa057bd63ee7d744a90.tar.gz
stackrpms-bab4e46df0ab08070ac03aa057bd63ee7d744a90.tar.bz2
stackrpms-bab4e46df0ab08070ac03aa057bd63ee7d744a90.zip
Merge branch 'libssh2-bump' into 'master'
Add freefilesync build/run dependencies See merge request bgstack15/stackrpms!88
Diffstat (limited to 'curl/curl-7.64.1-zsh-cpl.patch')
-rw-r--r--curl/curl-7.64.1-zsh-cpl.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/curl/curl-7.64.1-zsh-cpl.patch b/curl/curl-7.64.1-zsh-cpl.patch
new file mode 100644
index 0000000..070e508
--- /dev/null
+++ b/curl/curl-7.64.1-zsh-cpl.patch
@@ -0,0 +1,37 @@
+--- scripts/Makefile.am
++++ scripts/Makefile.am
+@@ -35,7 +35,7 @@ if CROSSCOMPILING
+ @echo "NOTICE: we can't generate zsh completion when cross-compiling!"
+ else # if not cross-compiling:
+ @if ! test -x "$(PERL)"; then echo "No perl: can't install completion.pl"; exit 0; fi
+- $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell zsh > $@
++ LD_LIBRARY_PATH=$(top_builddir)/lib/.libs $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell zsh > $@
+ endif
+
+ $(FISH_COMPLETION_FUNCTION_FILENAME): completion.pl
+@@ -43,7 +43,7 @@ if CROSSCOMPILING
+ @echo "NOTICE: we can't generate fish completion when cross-compiling!"
+ else # if not cross-compiling:
+ @if ! test -x "$(PERL)"; then echo "No perl: can't install completion.pl"; exit 0; fi
+- $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell fish > $@
++ LD_LIBRARY_PATH=$(top_builddir)/lib/.libs $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell fish > $@
+ endif
+
+ install-data-local:
+--- scripts/Makefile.in
++++ scripts/Makefile.in
+@@ -563,12 +563,12 @@ all-local: $(ZSH_COMPLETION_FUNCTION_FIL
+ $(ZSH_COMPLETION_FUNCTION_FILENAME): completion.pl
+ @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't generate zsh completion when cross-compiling!"
+ @CROSSCOMPILING_FALSE@ @if ! test -x "$(PERL)"; then echo "No perl: can't install completion.pl"; exit 0; fi
+-@CROSSCOMPILING_FALSE@ $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell zsh > $@
++@CROSSCOMPILING_FALSE@ LD_LIBRARY_PATH=$(top_builddir)/lib/.libs $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell zsh > $@
+
+ $(FISH_COMPLETION_FUNCTION_FILENAME): completion.pl
+ @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't generate fish completion when cross-compiling!"
+ @CROSSCOMPILING_FALSE@ @if ! test -x "$(PERL)"; then echo "No perl: can't install completion.pl"; exit 0; fi
+-@CROSSCOMPILING_FALSE@ $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell fish > $@
++@CROSSCOMPILING_FALSE@ LD_LIBRARY_PATH=$(top_builddir)/lib/.libs $(PERL) $(srcdir)/completion.pl --curl $(top_builddir)/src/curl$(EXEEXT) --shell fish > $@
+
+ install-data-local:
+ @CROSSCOMPILING_TRUE@ @echo "NOTICE: we can't install zsh completion when cross-compiling!"
bgstack15