subversion.perl.LD_RUN_PATH.patch 884 B

1234567891011121314151617181920
  1. clear LD_RUN_PATH, it will end up as RPATH in ELF binaries
  2. ERROR: RPATH "/usr/src/packages/BUILD/subversion-1.5.x/subversion/libsvn_subr/.libs" on /var/tmp/subversion-1.5.0-build/usr/lib/perl5/vendor_perl/5.10.0/ppc-linux-thread-multi-64int/auto/SVN/_Wc/_Wc.so is not allowed
  3. ---
  4. Makefile.in | 2 +-
  5. 1 file changed, 1 insertion(+), 1 deletion(-)
  6. --- a/Makefile.in
  7. +++ b/Makefile.in
  8. @@ -641,7 +641,7 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
  9. ./config.status subversion/bindings/swig/perl/native/Makefile.PL
  10. $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
  11. - cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
  12. + cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL ; for i in `grep -wl ^LD_RUN_PATH Makefile Makefile.[^P]*` ; do sed -i 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done
  13. swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \
  14. $(SWIG_PL_DIR)/native/Makefile