[38943] trunk/dports/math/R/Portfile

jmr at macports.org jmr at macports.org
Sun Aug 3 02:46:59 PDT 2008


Revision: 38943
          http://trac.macosforge.org/projects/macports/changeset/38943
Author:   jmr at macports.org
Date:     2008-08-03 02:46:58 -0700 (Sun, 03 Aug 2008)
Log Message:
-----------
R: fix crashing C++ extensions due to CoreFoundation/NLS (#16166)

Modified Paths:
--------------
    trunk/dports/math/R/Portfile

Modified: trunk/dports/math/R/Portfile
===================================================================
--- trunk/dports/math/R/Portfile	2008-08-03 08:19:05 UTC (rev 38942)
+++ trunk/dports/math/R/Portfile	2008-08-03 09:46:58 UTC (rev 38943)
@@ -4,6 +4,7 @@
 
 name             R
 version          2.7.1
+revision         1
 categories       math science
 maintainers      kjell.konis at epfl.ch
 platforms        darwin
@@ -67,8 +68,8 @@
 
 configure.args   --mandir=\\\${prefix}/share/man \
                  --enable-R-shlib \
-                 --with-blas='-framework vecLib' \
-                 --with-lapack \
+                 --disable-nls \
+                 --without-libintl-prefix \
                  --disable-R-framework \
                  --without-aqua \
                  --with-tcl-config=${prefix}/lib/tclConfig.sh \
@@ -88,7 +89,19 @@
 
   system "install_name_tool -id ${prefix}/lib/R/lib/libR.dylib \
     ${destroot}${prefix}/lib/R/lib/libR.dylib"
+  system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/libRblas.dylib \
+    ${destroot}${prefix}/lib/R/lib/libR.dylib"
 
+  system "install_name_tool -id ${prefix}/lib/R/lib/libRblas.dylib \
+    ${destroot}${prefix}/lib/R/lib/libRblas.dylib"
+
+  system "install_name_tool -id ${prefix}/lib/R/lib/libRlapack.dylib \
+    ${destroot}${prefix}/lib/R/lib/libRlapack.dylib"
+  system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/libRblas.dylib \
+    ${destroot}${prefix}/lib/R/lib/libRlapack.dylib"
+  system "install_name_tool -change libR.dylib ${prefix}/lib/R/lib/libR.dylib \
+    ${destroot}${prefix}/lib/R/lib/libRlapack.dylib"
+
   foreach so [ exec find ${destroot}${prefix}/lib/R -name "\*.so" ] {
     regsub ":$" ${so} "" destroot_so_path
     regsub ${destroot} ${destroot_so_path} "" so_path
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080803/df3c77c9/attachment.html 


More information about the macports-changes mailing list