From b24148491035845cfefbf530c09d7c163c902ff0 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 17 Sep 2019 14:55:50 -0400 Subject: add curl --- curl/curl-7.64.1-zsh-cpl.patch | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 curl/curl-7.64.1-zsh-cpl.patch (limited to 'curl/curl-7.64.1-zsh-cpl.patch') 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!" -- cgit