diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2006-08-12 09:50:36 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2006-08-12 09:50:36 +0000 |
commit | b954bb54e549f05ad4fc670381e6419490a8345f (patch) | |
tree | b73536abc7f09a30c77b28326655bf9fd0d944e1 /dev-libs/xmlrpc-c/files | |
parent | new upstream release. (diff) | |
download | gentoo-2-b954bb54e549f05ad4fc670381e6419490a8345f.tar.gz gentoo-2-b954bb54e549f05ad4fc670381e6419490a8345f.tar.bz2 gentoo-2-b954bb54e549f05ad4fc670381e6419490a8345f.zip |
fix previous patch for optional client libs
(Portage version: 2.1.1_pre4-r3)
Diffstat (limited to 'dev-libs/xmlrpc-c/files')
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch index f4c600b6887c..4ceb2e8fbfb3 100644 --- a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.06.03-mustbuildclient.patch @@ -95,3 +95,57 @@ Index: xmlrpc-c-1.06.03/tools/Makefile .PHONY: all clean distclean install check dep +Index: xmlrpc-c-1.06.03/xmlrpc-c-config.in +=================================================================== +--- xmlrpc-c-1.06.03.orig/xmlrpc-c-config.in ++++ xmlrpc-c-1.06.03/xmlrpc-c-config.in +@@ -108,26 +108,31 @@ while test $# -gt 0; do + ;; + client|libwww-client) + # libwww-client is for backward compatibility +- the_libs="-lxmlrpc_client $the_libs" + +- if test "${MUST_BUILD_WININET_CLIENT}" = "yes"; then +- the_libs="@WININET_LDADD@ $the_libs" +- the_rpath="@WININET_RPATH@ $the_rpath" +- the_wl_rpath="@WININET_WL_RPATH@ $the_wl_rpath" +- fi +- if test "${MUST_BUILD_CURL_CLIENT}" = "yes"; then +- the_libs="@CURL_LDADD@ $the_libs" +- the_rpath="@CURL_RPATH@ $the_rpath" +- the_wl_rpath="@CURL_WL_RPATH@ $the_wl_rpath" +- fi +- if test "${MUST_BUILD_LIBWWW_CLIENT}" = "yes"; then +- the_libs="@LIBWWW_LDADD@ $the_libs" +- the_rpath="@LIBWWW_RPATH@ $the_rpath" +- the_wl_rpath="@LIBWWW_WL_RPATH@ $the_wl_rpath" +- fi +- if test "${needCpp}" = "yes"; then +- the_libs="-lxmlrpc_client++ $the_libs" ++ if test "${MUST_BUILD_WININET_CLIENT}" = "yes" || \ ++ test "${MUST_BUILD_CURL_CLIENT}" = "yes" || \ ++ test "${MUST_BUILD_LIBWWW_CLIENT}" = "yes"; then ++ the_libs="-lxmlrpc_client $the_libs" ++ ++ if test "${MUST_BUILD_WININET_CLIENT}" = "yes"; then ++ the_libs="@WININET_LDADD@ $the_libs" ++ the_rpath="@WININET_RPATH@ $the_rpath" ++ the_wl_rpath="@WININET_WL_RPATH@ $the_wl_rpath" + fi ++ if test "${MUST_BUILD_CURL_CLIENT}" = "yes"; then ++ the_libs="@CURL_LDADD@ $the_libs" ++ the_rpath="@CURL_RPATH@ $the_rpath" ++ the_wl_rpath="@CURL_WL_RPATH@ $the_wl_rpath" ++ fi ++ if test "${MUST_BUILD_LIBWWW_CLIENT}" = "yes"; then ++ the_libs="@LIBWWW_LDADD@ $the_libs" ++ the_rpath="@LIBWWW_RPATH@ $the_rpath" ++ the_wl_rpath="@LIBWWW_WL_RPATH@ $the_wl_rpath" ++ fi ++ if test "${needCpp}" = "yes"; then ++ the_libs="-lxmlrpc_client++ $the_libs" ++ fi ++ fi + ;; + --version) + echo "@VERSION@" |