[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] correct swig perl deps for make -j

From: Olaf Hering <olh_at_suse.de>
Date: Wed, 23 Jan 2008 15:48:48 +0100

make -j fails sometimes, the patch below helped with 1.3,
we use it since Nov 2005.
Applies still to trunk.

 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile for SVN::_Core
 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile.client for SVN::_Client
 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile.delta for SVN::_Delta
 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile.fs for SVN::_Fs
 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile.ra for SVN::_Ra
 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile.repos for SVN::_Repos
 Note (probably harmless): No library found for -lsvn_swig_perl-1
 Writing Makefile.wc for SVN::_Wc

 Makefile.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -636,15 +636,16 @@ clean-swig-headers:
 extraclean-swig-headers: clean-swig-headers
         $(EXTRACLEAN_SWIG_HEADERS)
 
+swig-pl_native_Makefile_DEPS = autogen-swig-pl libsvn_client libsvn_delta libsvn_diff \
+ libsvn_fs libsvn_ra libsvn_repos libsvn_subr libsvn_wc libsvn_swig_perl
+
 $(SWIG_PL_DIR)/native/Makefile.PL: $(SWIG_SRC_DIR)/perl/native/Makefile.PL.in
         ./config.status subversion/bindings/swig/perl/native/Makefile.PL
 
-$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
+$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL $(swig-pl_native_Makefile_DEPS)
         cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
 
-swig-pl_DEPS = autogen-swig-pl libsvn_client libsvn_delta libsvn_diff \
- libsvn_fs libsvn_ra libsvn_repos libsvn_subr libsvn_wc libsvn_swig_perl \
- $(SWIG_PL_DIR)/native/Makefile
+swig-pl_DEPS = $(SWIG_PL_DIR)/native/Makefile
 swig-pl: $(swig-pl_DEPS)
         if test "$(SWIG_PL_DIR)" != "$(SWIG_PL_SRC_DIR)"; then \
           ln -sf $(SWIG_PL_SRC_DIR)/native/*.c $(SWIG_PL_DIR)/native; \

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-23 15:49:10 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.