--- curl-7.11.2/lib/Makefile.am 2009-03-05 16:01:46.000000000 +0000 +++ curl-7.11.2/lib/Makefile.am 2009-03-05 16:02:52.000000000 +0000 @@ -118,8 +118,8 @@ install-data-hook: @if test -n "@CURL_CA_BUNDLE@"; then \ - $(mkinstalldirs) `dirname $(prefix)/../@CURL_CA_BUNDLE@`; \ - @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(prefix)/../@CURL_CA_BUNDLE@; \ + $(mkinstalldirs) `dirname $(DESTDIR)$(prefix)/../@CURL_CA_BUNDLE@`; \ + @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(DESTDIR)$(prefix)/../@CURL_CA_BUNDLE@; \ fi # this hook is mainly for non-unix systems to build even if configure --- curl-7.11.2/lib/Makefile.in 2009-08-19 09:59:08.000000000 +0100 +++ curl-7.11.2/lib/Makefile.in 2009-08-19 09:59:46.000000000 +0100 @@ -693,8 +693,8 @@ install-data-hook: @if test -n "@CURL_CA_BUNDLE@"; then \ - $(mkinstalldirs) `dirname $(prefix)/../@CURL_CA_BUNDLE@`; \ - @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(prefix)/../@CURL_CA_BUNDLE@; \ + $(mkinstalldirs) `dirname $(DESTDIR)$(prefix)/../@CURL_CA_BUNDLE@`; \ + @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(DESTDIR)$(prefix)/../@CURL_CA_BUNDLE@; \ fi # this hook is mainly for non-unix systems to build even if configure