summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-05-02 15:14:49 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-05-02 15:14:49 +0000
commit29b76f1693095a9ebe995136b8a02e1750b3d7a0 (patch)
tree3257fe83a1702f0ed8a6108a27188ad70b87c355 /dev-libs/xmlrpc-c
parentFix encoding errors reported for some misconfigured sites (#267318). (diff)
downloadhistorical-29b76f1693095a9ebe995136b8a02e1750b3d7a0.tar.gz
historical-29b76f1693095a9ebe995136b8a02e1750b3d7a0.tar.bz2
historical-29b76f1693095a9ebe995136b8a02e1750b3d7a0.zip
Add patches to fix parallel compilation problems, bug 255440. Also remove some dead code from ebuild.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/xmlrpc-c')
-rw-r--r--dev-libs/xmlrpc-c/ChangeLog8
-rw-r--r--dev-libs/xmlrpc-c/Manifest6
-rw-r--r--dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch20
-rw-r--r--dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch585
-rw-r--r--dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild17
5 files changed, 624 insertions, 12 deletions
diff --git a/dev-libs/xmlrpc-c/ChangeLog b/dev-libs/xmlrpc-c/ChangeLog
index 7abe323ae8ca..1bfd8f431218 100644
--- a/dev-libs/xmlrpc-c/ChangeLog
+++ b/dev-libs/xmlrpc-c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/xmlrpc-c
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.84 2009/05/01 12:40:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.85 2009/05/02 15:14:49 loki_val Exp $
+
+ 02 May 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +files/xmlrpc-c-1.18.02/cpp-depends.patch,
+ +files/xmlrpc-c-1.18.02/dump-symlinks.patch, xmlrpc-c-1.18.02.ebuild:
+ Add patches to fix parallel compilation problems, bug 255440. Also remove
+ some dead code from ebuild.
01 May 2009; Raúl Porcel <armin76@gentoo.org> xmlrpc-c-1.18.02.ebuild:
Add ~alpha/~arm/~s390/~sh wrt #267616
diff --git a/dev-libs/xmlrpc-c/Manifest b/dev-libs/xmlrpc-c/Manifest
index 761a0d412420..4335383d9973 100644
--- a/dev-libs/xmlrpc-c/Manifest
+++ b/dev-libs/xmlrpc-c/Manifest
@@ -11,6 +11,8 @@ AUX xmlrpc-c-1.06.27-gcc43-test-fix.patch 1045 RMD160 e86d11e2279fea066fd7709a68
AUX xmlrpc-c-1.14.07-abyss-disable.patch 677 RMD160 14904bb01c95451e1dd66ae0dce798ce31f73087 SHA1 2ffbfdcd98f134d51d52a0a7c3fc9f02985913bf SHA256 d53b2aeff24513f178f61101c188dd5fc9802d68f58b290d9860d4ca4967c30e
AUX xmlrpc-c-1.16.06-no-undefined.patch 4156 RMD160 43f01e103184ccb852edea8b8e48bcba43b6a81e SHA1 f5fad59e19a890b7fd90d2decfb851e710f75cb0 SHA256 ea17a1033716982efeb4fef65dadf3e70fb2ced48d2f24b29266deec01cd10dd
AUX xmlrpc-c-1.16.06-parallel-make.patch 623 RMD160 0aae3d0d180d1ba225609ebe0972e6a7ee445f37 SHA1 f9248d404bf5aaaa6dce86381ead78b82570f10b SHA256 91a9fc9523217d1cd548ece5d6682f3d29ed7c3d77bf9e22810b9d561221d7ba
+AUX xmlrpc-c-1.18.02/cpp-depends.patch 777 RMD160 575f16e59927a5a1cd76c55405871f9096e7346c SHA1 984a2f05ea0e4fb855731896ae9ea115a566d0c6 SHA256 5e7ac2d3a93f6fc742de54e97950d8af2246af75d5baaf4ef513da6bd5ca53f9
+AUX xmlrpc-c-1.18.02/dump-symlinks.patch 19339 RMD160 1ed2bb4cddabb6ddabd3b8c15bf0d4dfd209607c SHA1 11ce54c1099c219d14c8f9c0411d22deba9d882a SHA256 4320670f81a8d20ec96bf9ce4ffc458792eeadaee49c515923f4858ff4ba6f02
AUX xmlrpc-c-1.18.02/dumpvalue.patch 520 RMD160 63947d91c5498bd603db30cc7efa85440eefbe46 SHA1 343d0ead6deada7eba40ebf832fe2f21222e1cac SHA256 a53f6b2fb44db2775e704bacee04fbcf8b2d2ab6eea27407e2de44213f933404
AUX xmlrpc-c-gcc43.patch 3386 RMD160 7260a649337849caa2784f0ecdbe9a64e31215a7 SHA1 a90b4ba1ad7ba793dce640f62c15cdb46ee5d36f SHA256 d34c3c5e7b7fbcba19a1abdb1afafdeaebb32fff7300981027c6ed247eb80092
DIST xmlrpc-1.06.27.tgz 699510 RMD160 65803ad240331182ecdddf442c0da80669ae3292 SHA1 7dc857eb411b2acf04a127ee5623e0961633bfac SHA256 04e81ec9f4b0e586be41ccffd402f42b6c268ec2fc7875d44fcbb4ba7a660378
@@ -23,6 +25,6 @@ EBUILD xmlrpc-c-1.14.07-r1.ebuild 2205 RMD160 4a18dadb6c97251cf68048a3835a631c3b
EBUILD xmlrpc-c-1.15.05.ebuild 2148 RMD160 35620f571e27181d071952de10633a0fc3864db2 SHA1 677cb362dd56bc4d6cd20473fae69abc3df61fe3 SHA256 598b92e5941760d69f9291dd9c2d848541afdf804f9ec72780d8c926c4323254
EBUILD xmlrpc-c-1.16.06-r1.ebuild 2175 RMD160 7e82dfc8a0f25fad42c34c3d7120808cebff6ff3 SHA1 08100617507139e9c43ca9635378f6f19f584f11 SHA256 40a2138fb2820907a23d7f23ab548f963e7341e19b04425db089ffb8b1f844a6
EBUILD xmlrpc-c-1.16.06.ebuild 2129 RMD160 e452fbfaa4b5be6e1214a4d60d48cfa5e057324a SHA1 bf646c6fefea588bbddea44ba6c1d792307e5751 SHA256 35159199349a31f0c8b2d38af9fbe08c4caa17122d20248c34578629e3e99eaa
-EBUILD xmlrpc-c-1.18.02.ebuild 2258 RMD160 246c8c684937d9b89373f131294bc78984dbff95 SHA1 fca44f011bae4eea9b91ff36c1e8320ac6781c1c SHA256 b3d35a7893ec4960826cb0b2f7eb9b91f8b94e49dd4462566140cceb7aa63883
-MISC ChangeLog 13624 RMD160 8534e6dbf6252b230587987890f1d37d03a158cf SHA1 5719cf3bb3b31e9712f737e31a3ef475d23cb28c SHA256 301333aefb3a3074ce8c253133f8874a1f78a4e44785052a4c2bc2eead28cf2a
+EBUILD xmlrpc-c-1.18.02.ebuild 2225 RMD160 3240cf9acae28ec0259de4939025a90f88d2205e SHA1 e010f0d46dcf235157d119ad75bf68c71dfeaaec SHA256 34d6a40b65a3574a9f77c2148ef28995c2d1722174718467a5ad51befd2fee9f
+MISC ChangeLog 13902 RMD160 dfda22ebc8179f46ac505d5073ec674672d4c182 SHA1 2e79a04869701dea67d5d6e255d1148031f10b7c SHA256 f2e4445b39d21d8ef61e3ac1649e1ae5900cb73cc34c656c60103ef7c6bd37dc
MISC metadata.xml 499 RMD160 f9d1d3c58837e9713d01117b860658db99565b11 SHA1 66be7900342b06c05c2d951643d83f054a89924e SHA256 d012b1b4909db4b540a1c8f3f27732cf2feef8e3060d63e2ac211ae0880a7e8d
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch
new file mode 100644
index 000000000000..dccd12a558fe
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch
@@ -0,0 +1,20 @@
+diff -NrU5 xmlrpc-c-1.18.02.orig/src/Makefile xmlrpc-c-1.18.02/src/Makefile
+--- xmlrpc-c-1.18.02.orig/src/Makefile 2009-05-02 12:53:43.000000000 +0200
++++ xmlrpc-c-1.18.02/src/Makefile 2009-05-02 13:30:00.000000000 +0200
+@@ -128,11 +128,15 @@
+ $(SUBDIRS:%=%/all) \
+
+ # Extra dependencies to make parallel make work in spite of all the submakes
+ # (See top level make file for details)
+ ifeq ($MUST_BUILD_CLIENT),yes)
+-cpp/all: $(BLDDIR)/transport_config.h
++ cpp/all: $(BLDDIR)/transport_config.h
++endif
++
++ifeq ($(ENABLE_CPLUSPLUS),yes)
++ cpp/all: $(TARGET_SHARED_LIBRARIES)
+ endif
+
+ #-----------------------------------------------------------------------------
+ # RULES TO LINK LIBRARIES
+ #-----------------------------------------------------------------------------
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch
new file mode 100644
index 000000000000..d246e42dbf41
--- /dev/null
+++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch
@@ -0,0 +1,585 @@
+diff -NrU5 xmlrpc-c-1.18.02.orig/common.mk xmlrpc-c-1.18.02/common.mk
+--- xmlrpc-c-1.18.02.orig/common.mk 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/common.mk 2009-04-28 00:37:21.000000000 +0200
+@@ -282,32 +282,10 @@
+ $(TARGET_MODS_PP:%=%.osh):%.osh:%.cpp
+ $(CXX) -c -o $@ $(INCLUDES) $(CXXFLAGS_ALL) $<
+
+
+ ##############################################################################
+-# MISC BUILD RULES #
+-##############################################################################
+-
+-# We use the srcdir symbolic link simply to make the make
+-# rules easier to read in the make output. We could use the $(SRCDIR)
+-# variable, but that makes the compile and link commands
+-# a mile long. Note that Make sometime figures that a directory which
+-# is a dependency is newer than the symbolic link pointing to it and wants
+-# to rebuild the symbolic link. So we don't make $(SRCDIR) a
+-# dependency of 'srcdir'.
+-
+-# We should do the same for 'blddir'. We did once before, then undid
+-# it in an erroneous effort to enable parallel make. It's a little harder
+-# with blddir; when we did it before, we had to use the non-symlink
+-# version in a few places.
+-
+-srcdir:
+- $(LN_S) $(SRCDIR) $@
+-blddir:
+- $(LN_S) $(BLDDIR) $@
+-
+-##############################################################################
+ # RECURSIVE SUBDIRECTORY BUILD RULES #
+ ##############################################################################
+
+ .PHONY: $(SUBDIRS:%=%/all)
+ $(SUBDIRS:%=%/all): %/all: $(CURDIR)/%
+@@ -594,11 +572,10 @@
+ # especially with built .h files. Better not to burden the user, who
+ # gains nothing from it, with that.
+ #
+ rm -f depend.mk
+ rm -f Makefile.depend # We used to create a file by this name
+- rm -f srcdir blddir
+
+ .PHONY: distdir-common
+ distdir-common:
+ @for file in $(DISTFILES); do \
+ d=$(SRCDIR); \
+diff -NrU5 xmlrpc-c-1.18.02.orig/lib/abyss/src/Makefile xmlrpc-c-1.18.02/lib/abyss/src/Makefile
+--- xmlrpc-c-1.18.02.orig/lib/abyss/src/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/lib/abyss/src/Makefile 2009-04-28 00:48:59.000000000 +0200
+@@ -50,22 +50,17 @@
+
+ include $(SRCDIR)/common.mk
+
+ CFLAGS_LOCAL = -D_UNIX
+
+-INCLUDES = -Iblddir -Isrcdir -Isrcdir/include -Isrcdir/lib/util/include
++INCLUDES = -I$(BLDDIR) -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
+
+ ABYSS_SHLIB = $(call shlibfn,libxmlrpc_abyss)
+ #ABYSS_SHLIB is e.g. libxmlrpc_abyss.so.3.1
+ ABYSS_SHLIBLE = $(call shliblefn,libxmlrpc_abyss)
+ #ABYSS_SHLIBLE is e.g. libxmlrpc_abyss.so
+
+-# This 'common.mk' dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/common.mk: srcdir blddir
+-
+ .PHONY: all
+ all: libxmlrpc_abyss.a $(TARGET_SHARED_LIBRARIES) $(TARGET_SHARED_LE_LIBS)
+
+
+ # Rule for this is in common.mk, courtesy of TARGET_LIBRARY_NAMES
+diff -NrU5 xmlrpc-c-1.18.02.orig/lib/expat/xmlparse/Makefile xmlrpc-c-1.18.02/lib/expat/xmlparse/Makefile
+--- xmlrpc-c-1.18.02.orig/lib/expat/xmlparse/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/lib/expat/xmlparse/Makefile 2009-04-28 00:39:45.000000000 +0200
+@@ -83,11 +83,6 @@
+ distclean: clean distclean-common
+
+ .PHONY: dep
+ dep: dep-common
+
+-# This 'common.mk' dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/common.mk: srcdir
+-
+ include depend.mk
+diff -NrU5 xmlrpc-c-1.18.02.orig/lib/expat/xmltok/Makefile xmlrpc-c-1.18.02/lib/expat/xmltok/Makefile
+--- xmlrpc-c-1.18.02.orig/lib/expat/xmltok/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/lib/expat/xmltok/Makefile 2009-04-28 00:38:11.000000000 +0200
+@@ -24,11 +24,11 @@
+ # we started using the Gcc -Wundef option, that generates a warning, so
+ # se set it explicitly to 0 here.
+
+ CFLAGS_LOCAL = -DXML_BYTE_ORDER=0
+
+-# -I. is necessary when blddir != srcdir
++# -I. is necessary when $(BLDDIR) != $(SRCDIR)
+ INCLUDES = -I. -I$(BLDDIR) -I$(SRCDIR)/lib/util/include
+
+ default: all
+
+ TARGET_LIBRARY_NAMES := libxmlrpc_xmltok
+diff -NrU5 xmlrpc-c-1.18.02.orig/lib/libutil/Makefile xmlrpc-c-1.18.02/lib/libutil/Makefile
+--- xmlrpc-c-1.18.02.orig/lib/libutil/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/lib/libutil/Makefile 2009-04-28 00:48:59.000000000 +0200
+@@ -41,23 +41,18 @@
+ MAJ=3
+ # Major number of shared libraries in this directory
+
+ include $(SRCDIR)/common.mk
+
+-INCLUDES = -I$(BLDDIR) -Isrcdir \
+- -I$(BLDDIR)/include -Isrcdir/include -Isrcdir/lib/util/include
++INCLUDES = -I$(BLDDIR) -I$(SRCDIR) \
++ -I$(BLDDIR)/include -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
+
+ UTIL_SHLIB = $(call shlibfn,libxmlrpc_util)
+ #UTIL_SHLIB is e.g. libxmlrpc_util.so.3.1
+ UTIL_SHLIBLE = $(call shliblefn,libxmlrpc_util)
+ #UTIL_SHLIBLE is e.g. libxmlrpc_util.so
+
+-# This 'common.mk' dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/common.mk: srcdir blddir
+-
+ .PHONY: all
+ all: libxmlrpc_util.a $(TARGET_SHARED_LIBRARIES) $(TARGET_SHARED_LE_LIBS)
+
+ # Rule for this is in common.mk, courtesy of TARGET_LIBRARY_NAMES:
+ $(UTIL_SHLIB): $(TARGET_MODS:%=%.osh)
+diff -NrU5 xmlrpc-c-1.18.02.orig/src/cpp/Makefile xmlrpc-c-1.18.02/src/cpp/Makefile
+--- xmlrpc-c-1.18.02.orig/src/cpp/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/src/cpp/Makefile 2009-04-28 00:38:11.000000000 +0200
+@@ -37,18 +37,18 @@
+ # INCLUDES and DEP_SOURCES are used by dep-common target
+ INCLUDES = $(BASIC_INCLUDES) $(CLIENT_INCLUDES) $(LIBXML_INCLUDES) \
+ $(SERVER_INCLUDES) $(SERVER_ABYSS_INCLUDES) $(TRANSPORT_INCLUDES)
+ DEP_SOURCES = *.cpp
+
+-WININET_TRANSPORT_DIR = srcdir/lib/wininet_transport
+-CURL_TRANSPORT_DIR = srcdir/lib/curl_transport
+-LIBWWW_TRANSPORT_DIR = srcdir/lib/libwww_transport
++WININET_TRANSPORT_DIR = $(SRCDIR)/lib/wininet_transport
++CURL_TRANSPORT_DIR = $(SRCDIR)/lib/curl_transport
++LIBWWW_TRANSPORT_DIR = $(SRCDIR)/lib/libwww_transport
+
+ ifeq ($(ENABLE_LIBXML2_BACKEND),yes)
+ LIBXML_INCLUDES = $(LIBXML2_CFLAGS)
+ else
+- LIBXML_INCLUDES = -Isrcdir/lib/expat/xmlparse
++ LIBXML_INCLUDES = -I$(SRCDIR)/lib/expat/xmlparse
+ endif
+
+ ifeq ($(ENABLE_LIBXML2_BACKEND),yes)
+ XML_PARSER_LIBDEP = $(shell xml2-config --libs)
+ else
+@@ -80,26 +80,20 @@
+ MAJ = 5
+ # Major number of shared libraries in this directory
+
+ include $(SRCDIR)/common.mk
+
+-
+-# This 'common.mk' dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/common.mk: srcdir blddir
+-
+ TRANSPORT_INCLUDES = \
+ -I$(WININET_TRANSPORT_DIR) \
+ -I$(CURL_TRANSPORT_DIR) \
+ -I$(LIBWWW_TRANSPORT_DIR) \
+
+ BASIC_INCLUDES = \
+- -Iblddir/include \
+- -Isrcdir/include \
+- -Iblddir \
+- -Isrcdir/lib/util/include
++ -I$(BLDDIR)/include \
++ -I$(SRCDIR)/include \
++ -I$(BLDDIR) \
++ -I$(SRCDIR)/lib/util/include
+
+
+ # TARGET_STATIC_LIBARIES, etc. are set by common.mk, based on
+ # TARGET_LIB_NAMES_PP.
+
+@@ -125,22 +119,22 @@
+ $(LIBXMLRPC) \
+ $(LIBXMLRPC_SERVER) \
+ $(LIBXMLRPC_UTIL)
+ $(LIBXMLRPC_CPP_SH): LIBOBJECTS = XmlRpcCpp.osh
+ $(LIBXMLRPC_CPP_SH): LIBDEP = \
+- -Lblddir/src -lxmlrpc_server -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
+
+ LIBXMLRPCPP_SH = $(call shlibfn, lib$(LIBXMLRPCPP_NAME))
+
+ $(LIBXMLRPCPP_SH): $(LIBXMLRPCPP_MODS:%=%.osh) \
+ $(LIBXMLRPC) \
+ $(LIBXMLRPC_UTIL)
+ $(LIBXMLRPCPP_SH): LIBOBJECTS = $(LIBXMLRPCPP_MODS:%=%.osh)
+ $(LIBXMLRPCPP_SH): LIBDEP = \
+- -Lblddir/src -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
+
+
+ LIBXMLRPC_SERVERPP_SH = $(call shlibfn, libxmlrpc_server++)
+@@ -151,11 +145,11 @@
+ $(LIBXMLRPC_UTIL) \
+ $(LIBXMLRPC)
+ $(LIBXMLRPC_SERVERPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVERPP_MODS:%=%.osh)
+ $(LIBXMLRPC_SERVERPP_SH): LIBDEP = \
+ -L. -l$(LIBXMLRPCPP_NAME) \
+- -Lblddir/src -lxmlrpc_server -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
+
+ LIBXMLRPC_SERVER_ABYSSPP_SH = $(call shlibfn, libxmlrpc_server_abyss++)
+
+@@ -167,11 +161,11 @@
+ $(LIBXMLRPC_UTIL) \
+ $(LIBXMLRPC)
+ $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh)
+ $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBDEP = \
+ -L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) \
+- -Lblddir/src -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util \
+
+ $(LIBXMLRPC_SERVER_CGIPP_SH): $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh) \
+@@ -179,11 +173,11 @@
+ $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \
+ $(LIBXMLRPC)
+ $(LIBXMLRPC_SERVER_CGIPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh)
+ $(LIBXMLRPC_SERVER_CGIPP_SH): LIBDEP = \
+ -L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) \
+- -Lblddir/src -lxmlrpc_server -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
+
+ LIBXMLRPC_SERVER_PSTREAMPP_SH = $(call shlibfn, libxmlrpc_server_pstream++)
+
+@@ -193,11 +187,11 @@
+ $(call shliblefn, libxmlrpc_packetsocket) \
+ $(call shliblefn, libxmlrpc_server++)
+ $(LIBXMLRPC_SERVER_PSTREAMPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_PSTREAMPP_MODS:%=%.osh)
+ $(LIBXMLRPC_SERVER_PSTREAMPP_SH): LIBDEP = \
+ -L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) -lxmlrpc_packetsocket \
+- -Lblddir/src -lxmlrpc_server -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util \
+
+ LIBXMLRPC_CLIENTPP_SH = $(call shlibfn, libxmlrpc_client++)
+
+@@ -208,22 +202,22 @@
+ $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \
+ $(LIBXMLRPC_CLIENT)
+ $(LIBXMLRPC_CLIENTPP_SH): LIBOBJECTS = $(LIBXMLRPC_CLIENTPP_MODS:%=%.osh)
+ $(LIBXMLRPC_CLIENTPP_SH): LIBDEP = \
+ -L. -l$(LIBXMLRPCPP_NAME) -lxmlrpc_packetsocket \
+- -Lblddir/src -lxmlrpc_client -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc_client -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
+
+ LIBXMLRPC_PACKETSOCKET_SH = $(call shlibfn, libxmlrpc_packetsocket)
+
+ $(LIBXMLRPC_PACKETSOCKET_SH): $(LIBXMLRPC_PACKETSOCKET_MODS:%=%.osh) \
+ $(call shliblefn, lib$(LIBXMLRPCPP_NAME))
+ $(LIBXMLRPC_PACKETSOCKET_SH): LIBOBJECTS = $(LIBXMLRPC_PACKETSOCKET_MODS:%=%.osh)
+ $(LIBXMLRPC_PACKETSOCKET_SH): LIBDEP = \
+ -L. -l$(LIBXMLRPCPP_NAME) \
+- -Lblddir/src -lxmlrpc \
++ -L$(BLDDIR)/src -lxmlrpc \
+ $(XML_PARSER_LIBDEP) \
+ -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
+
+ libxmlrpc_cpp.a: XmlRpcCpp.o
+ libxmlrpc_cpp.a: LIBOBJECTS = XmlRpcCpp.o
+diff -NrU5 xmlrpc-c-1.18.02.orig/src/cpp/test/Makefile xmlrpc-c-1.18.02/src/cpp/test/Makefile
+--- xmlrpc-c-1.18.02.orig/src/cpp/test/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/src/cpp/test/Makefile 2009-04-28 00:48:59.000000000 +0200
+@@ -26,16 +26,11 @@
+ LIBS += $(shell libwww-config --libs)
+ endif
+
+ LIBS += -lpthread
+
+-INCLUDES = -Isrcdir/include -I$(BLDDIR) -Isrcdir -Isrcdir/lib/util/include
+-
+-# This 'Makefile' dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-Makefile: srcdir
++INCLUDES = -I$(SRCDIR)/include -I$(BLDDIR) -I$(SRCDIR) -I$(SRCDIR)/lib/util/include
+
+ include $(SRCDIR)/common.mk
+
+
+ TEST_OBJS = test.o registry.o server_abyss.o server_pstream.o tools.o
+diff -NrU5 xmlrpc-c-1.18.02.orig/src/Makefile xmlrpc-c-1.18.02/src/Makefile
+--- xmlrpc-c-1.18.02.orig/src/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/src/Makefile 2009-04-28 00:32:07.000000000 +0200
+@@ -115,15 +115,10 @@
+ MAJ=3
+ # Major number of shared libraries in this directory
+
+ include $(SRCDIR)/common.mk
+
+-# This 'common.mk' dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/common.mk: srcdir blddir
+-
+ # TARGET_STATIC_LIBRARIES, etc. are set by common.mk, based on
+ # TARGET_LIBRARY_NAMES.
+
+
+ all: \
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/common.mk xmlrpc-c-1.18.02/tools/common.mk
+--- xmlrpc-c-1.18.02.orig/tools/common.mk 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/common.mk 2009-04-28 00:49:45.000000000 +0200
+@@ -5,11 +5,11 @@
+ # the corresponding -l.
+ #
+ # Note that in a properly configured system, curl-config, etc. do not
+ # generate -L options for general directories.
+
+-CLIENT_LDLIBS = -Lblddir/src -Lblddir/lib/libutil
++CLIENT_LDLIBS = -L$(BLDDIR)/src -L$(BLDDIR)/lib/libutil
+
+ CLIENT_LDLIBS += -lxmlrpc_client -lxmlrpc -lxmlrpc_util
+
+ ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
+ CLIENT_LDLIBS += $(shell libwww-config --libs)
+@@ -21,17 +21,17 @@
+ CLIENT_LDLIBS += $(shell wininet-config --libs)
+ endif
+
+ CLIENT_LDLIBS += $(LDLIBS_XML)
+
+-CLIENTPP_LDLIBS = -Lblddir/src/cpp
++CLIENTPP_LDLIBS = -L$(BLDDIR)/src/cpp
+ CLIENTPP_LDLIBS += -lxmlrpc_client++ -lxmlrpc_packetsocket -lxmlrpc++
+
+ include $(SRCDIR)/common.mk
+
+ ifneq ($(OMIT_LIB_RULE),Y)
+-srcdir/tools/lib/dumpvalue.o: FORCE
++$(SRCDIR)/tools/lib/dumpvalue.o: FORCE
+ $(MAKE) -C $(dir $@) -f $(SRCDIR)/tools/lib/Makefile $(notdir $@)
+ endif
+
+ .PHONY: install
+ install: install-common
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/lib/Makefile xmlrpc-c-1.18.02/tools/lib/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/lib/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/lib/Makefile 2009-04-28 00:40:19.000000000 +0200
+@@ -13,29 +13,24 @@
+ OMIT_LIB_RULE = Y
+
+ include $(SRCDIR)/tools/common.mk
+
+ INCLUDES = \
+- -Isrcdir/$(SUBDIR)/include \
+- -Iblddir \
+- -Isrcdir/include \
+- -Isrcdir/lib/util/include \
++ -I$(SRCDIR)/$(SUBDIR)/include \
++ -I$(BLDDIR) \
++ -I$(SRCDIR)/include \
++ -I$(SRCDIR)/lib/util/include \
+
+ LIBOBJS = \
+ dumpvalue.o \
+
+ .PHONY: all
+ all: $(LIBOBJS)
+
+ %.o:%.c
+ $(CC) -c $(CFLAGS_ALL) $<
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: dep
+ dep: dep-common
+
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc/Makefile xmlrpc-c-1.18.02/tools/xmlrpc/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/xmlrpc/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/xmlrpc/Makefile 2009-04-28 00:38:11.000000000 +0200
+@@ -14,14 +14,14 @@
+
+ include $(SRCDIR)/tools/common.mk
+
+ INCLUDES = \
+ -I../lib/include \
+- -Iblddir \
+- -Iblddir/include \
+- -Isrcdir/include \
+- -Isrcdir/lib/util/include
++ -I$(BLDDIR) \
++ -I$(BLDDIR)/include \
++ -I$(SRCDIR)/include \
++ -I$(SRCDIR)/lib/util/include
+
+ LDFLAGS = $(LADD)
+
+ all: xmlrpc
+
+@@ -32,11 +32,11 @@
+ stripcaseeq.o \
+ string_parser.o \
+
+ UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
+
+-DUMPVALUE = srcdir/tools/lib/dumpvalue.o
++DUMPVALUE = $(SRCDIR)/tools/lib/dumpvalue.o
+
+ # Can we just use $(LIBS) in the link?
+
+ LIBS = $(LIBXMLRPC_CLIENT) $(LIBXMLRPC) $(LIBXMLRPC_XML) $(LIBXMLRPC_UTIL)
+
+@@ -46,15 +46,10 @@
+ $(CCLD) -o $@ $(LDFLAGS) $(XMLRPC_OBJS) $(UTILS) $(CLIENT_LDLIBS)
+
+ %.o:%.c $(BLDDIR)/include/xmlrpc-c/config.h
+ $(CC) -c $(CFLAGS_ALL) $<
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: dep
+ dep: dep-common
+
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2cpp/Makefile xmlrpc-c-1.18.02/tools/xml-rpc-api2cpp/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2cpp/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/xml-rpc-api2cpp/Makefile 2009-04-28 00:31:08.000000000 +0200
+@@ -46,15 +46,10 @@
+ $(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS)
+
+ %.o:%.cpp
+ $(CXX) -c $(CXXFLAGS_ALL) $<
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: clean
+ clean: clean-common
+ rm -f $(PROGS)
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2txt/Makefile xmlrpc-c-1.18.02/tools/xml-rpc-api2txt/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2txt/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/xml-rpc-api2txt/Makefile 2009-04-28 00:30:54.000000000 +0200
+@@ -16,15 +16,10 @@
+
+ all: $(PROGS)
+
+ include $(SRCDIR)/tools/common.mk
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: clean
+ clean: clean-common
+ rm -f $(PROGS)
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_cpp_proxy/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_cpp_proxy/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_cpp_proxy/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/xmlrpc_cpp_proxy/Makefile 2009-04-28 00:28:49.000000000 +0200
+@@ -45,15 +45,10 @@
+ $(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS) $(LADD)
+
+ %.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
+ $(CXX) -c $(CXXFLAGS_ALL) $<
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: clean
+ clean: clean-common
+ rm -f xmlrpc_cpp_proxy
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile 2009-04-28 00:38:11.000000000 +0200
+@@ -16,22 +16,22 @@
+
+ include $(SRCDIR)/tools/common.mk
+
+ INCLUDES = \
+ -I../lib/include \
+- -Isrcdir/lib/util/include \
+- -Iblddir \
+- -Iblddir/include \
+- -Isrcdir/include \
++ -I$(SRCDIR)/lib/util/include \
++ -I$(BLDDIR) \
++ -I$(BLDDIR)/include \
++ -I$(SRCDIR)/include \
+
+ LDFLAGS = $(LADD)
+
+ all: xmlrpc_pstream
+
+ OBJECTS = \
+ xmlrpc_pstream.o \
+- srcdir/tools/lib/dumpvalue.o \
++ $(SRCDIR)/tools/lib/dumpvalue.o \
+
+ LIBS = \
+ $(LIBXMLRPC_CLIENTPP) \
+ $(LIBXMLRPCPP) \
+ $(LIBXMLRPC_CLIENT) \
+@@ -52,18 +52,13 @@
+ UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
+
+ xmlrpc_pstream: $(OBJECTS) $(LIBS) $(UTILS)
+ $(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(UTILS) $(LDLIBS) $(LADD)
+
+-%.o:%.cpp blddir/include/xmlrpc-c/config.h
++%.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
+ $(CXX) -c $(CXXFLAGS_ALL) $<
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: clean
+ clean: clean-common
+ rm -f xmlrpc_pstream
+diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_transport/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_transport/Makefile
+--- xmlrpc-c-1.18.02.orig/tools/xmlrpc_transport/Makefile 2009-04-28 00:23:33.000000000 +0200
++++ xmlrpc-c-1.18.02/tools/xmlrpc_transport/Makefile 2009-04-28 00:29:09.000000000 +0200
+@@ -39,15 +39,10 @@
+ $(CCLD) -o $@ $(LDFLAGS) $< $(CLIENT_LDLIBS) $(UTILS)
+
+ %.o:%.c
+ $(CC) -c $(CFLAGS_ALL) $<
+
+-# This common.mk dependency makes sure the symlinks get built before
+-# this make file is used for anything.
+-
+-$(SRCDIR)/tools/common.mk: srcdir blddir
+-
+ include depend.mk
+
+ .PHONY: dep
+ dep: dep-common
+
diff --git a/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild b/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
index 906612ce2850..daf9cd11ff0d 100644
--- a/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
+++ b/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild,v 1.6 2009/05/01 12:40:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.18.02.ebuild,v 1.7 2009/05/02 15:14:49 loki_val Exp $
EAPI=2
-inherit eutils multilib base autotools
+inherit eutils multilib base
DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2"
@@ -30,7 +30,11 @@ pkg_setup() {
#Bug 214137: We need to filter this.
unset SRCDIR
-PATCHES=( "${FILESDIR}/${P}/dumpvalue.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}/dumpvalue.patch"
+ "${FILESDIR}/${P}/cpp-depends.patch"
+ "${FILESDIR}/${P}/dump-symlinks.patch"
+ )
src_prepare() {
base_src_util autopatch
@@ -40,11 +44,6 @@ src_prepare() {
-e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" \
-e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" \
"${S}"/common.mk || die "404. File not found while sedding"
-
- sed -i \
- -e "/^LIBINST_DIR = / s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" \
- config.mk.in
- eautoconf
}
src_configure() {
@@ -63,7 +62,7 @@ src_configure() {
}
src_compile() {
- emake || die "Compiling failed"
+ emake -r || die "Compiling failed"
}
src_test() {