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

jmr at macports.org jmr at macports.org
Wed Aug 6 01:35:51 PDT 2008


Revision: 39024
          http://trac.macosforge.org/projects/macports/changeset/39024
Author:   jmr at macports.org
Date:     2008-08-06 01:35:50 -0700 (Wed, 06 Aug 2008)
Log Message:
-----------
R: fix paths in pkgconfig file (#16230)

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

Modified: trunk/dports/math/R/Portfile
===================================================================
--- trunk/dports/math/R/Portfile	2008-08-06 08:00:26 UTC (rev 39023)
+++ trunk/dports/math/R/Portfile	2008-08-06 08:35:50 UTC (rev 39024)
@@ -4,7 +4,7 @@
 
 name             R
 version          2.7.1
-revision         1
+revision         2
 categories       math science
 maintainers      kjell.konis at epfl.ch
 platforms        darwin
@@ -87,6 +87,10 @@
     }
   }
 
+  foreach v { "rhome" "rincludedir"} {
+    reinplace "s|${v}=${destroot}|${v}=|" "${destroot}${prefix}/lib/pkgconfig/libR.pc"
+  }
+
   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 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080806/ad8c9b3d/attachment.html 


More information about the macports-changes mailing list