curl-7.10.4-path.patch 504 B

12345678910111213
  1. --- curl-7.10.4/lib/Makefile.am
  2. +++ curl-7.10.4/lib/Makefile.am
  3. @@ -78,8 +78,8 @@
  4. install-data-hook:
  5. @if test -n "@CURL_CA_BUNDLE@"; then \
  6. - $(mkinstalldirs) `dirname $(DESTDIR)@CURL_CA_BUNDLE@`; \
  7. - @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(DESTDIR)@CURL_CA_BUNDLE@; \
  8. + $(mkinstalldirs) `dirname $(prefix)/../@CURL_CA_BUNDLE@`; \
  9. + @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(prefix)/../@CURL_CA_BUNDLE@; \
  10. fi
  11. # this hook is mainly for non-unix systems to build even if configure