Dear r-devel,

Using the latest R-devel from SVN, when doing a make install, even from a build directory, there is a recursive copy that attempts to copy the .svn file to the framework include directory. The problem is due to the fact that there is a reference to $srcdir in Makefile.in that should probably be $top_builddir. The following patch (also attached) fixes this:

Index: Makefile.in
===================================================================
--- Makefile.in (revision 35301)
+++ Makefile.in (working copy)
@@ -234,7 +234,7 @@
          ln -f -s -n Versions/Current/Resources Resources)
        @(cd "$(R_FRAMEWORK_DIR)/Resources/lib" && \
install_name_tool -id "$(R_FRAMEWORK_DIR)/Versions/$ (VERSION)/Resources/lib/libR.dylib" ../lib/libR.dylib) - @(cp -R $(srcdir)/src/include $(R_FRAMEWORK_DIR)/Versions/ Current/PrivateHeaders) + @(cp -R $(top_builddir)/src/include $(R_FRAMEWORK_DIR)/ Versions/Current/PrivateHeaders) @(install_name_tool -change libR.dylib "$(R_FRAMEWORK_DIR)/ Versions/$(VERSION)/Resources/lib/libR.dylib" \
          $(R_FRAMEWORK_DIR)/Resources/bin/exec/R)
@(find "$(R_FRAMEWORK_DIR)/Resources/" -name '*.so' -exec install_name_tool \


I would be pleased if someone who understands the build system better than idea would review this and check it in if it's the right thing to do.

Thanks,

Cyrus



______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to