<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre, #msg p { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[31663] trunk/dports/python/py25-scientific</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/31663">31663</a></dd>
<dt>Author</dt> <dd>saispo@macports.org</dd>
<dt>Date</dt> <dd>2007-12-02 07:28:44 -0800 (Sun, 02 Dec 2007)</dd>
</dl>
<h3>Log Message</h3>
<pre>Fix py25-scientific on Leopard using py25-numeric patch, ticket #13113 can be closed</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportspythonpy25scientificPortfile">trunk/dports/python/py25-scientific/Portfile</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li>trunk/dports/python/py25-scientific/files/</li>
<li><a href="#trunkdportspythonpy25scientificfilescustomizepymacosx">trunk/dports/python/py25-scientific/files/customize.py-macosx</a></li>
<li><a href="#trunkdportspythonpy25scientificfilescustomizepypuredarwin">trunk/dports/python/py25-scientific/files/customize.py-puredarwin</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportspythonpy25scientificPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/python/py25-scientific/Portfile (31662 => 31663)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/python/py25-scientific/Portfile        2007-12-02 11:14:14 UTC (rev 31662)
+++ trunk/dports/python/py25-scientific/Portfile        2007-12-02 15:28:44 UTC (rev 31663)
</span><span class="lines">@@ -17,9 +17,21 @@
</span><span class="cx"> depends_lib port:netcdf \
</span><span class="cx">                  port:py25-numeric
</span><span class="cx">
</span><ins>+platform macosx {
+ post-patch {
+ copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
+ }
+}
+
+platform puredarwin {
+ post-patch {
+ copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
+ }
+}
+
</ins><span class="cx"> build.env          CPPFLAGS="-I${prefix}/include/python2.5 \
</span><span class="cx">                  -I${worksrcpath}/Include" \
</span><del>-                 NETCDF_PREFIX=${prefix}                
</del><ins>+                 NETCDF_PREFIX=${prefix}
</ins><span class="cx">
</span><span class="cx"> variant mpi {
</span><span class="cx"> depends_lib-append port:lammpi
</span></span></pre></div>
<a id="trunkdportspythonpy25scientificfilescustomizepymacosx"></a>
<div class="addfile"><h4>Added: trunk/dports/python/py25-scientific/files/customize.py-macosx (0 => 31663)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/python/py25-scientific/files/customize.py-macosx         (rev 0)
+++ trunk/dports/python/py25-scientific/files/customize.py-macosx        2007-12-02 15:28:44 UTC (rev 31663)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+extra_compile_args = []
+extra_link_args = []
+include_dirs = []
+
+use_system_lapack = 1
+lapack_library_dirs = []
+lapack_libraries = []
+lapack_extra_link_args = ['-framework', 'vecLib']
+
+use_dotblas = 1
+use_system_blas = 1
+dotblas_include_dirs = []
+dotblas_cblas_header = '<vecLib/vBLAS.h>'
+dotblas_library_dirs = lapack_library_dirs
+dotblas_libraries = lapack_libraries
+dotblas_extra_link_args = ['-framework', 'vecLib']
+
</ins></span></pre></div>
<a id="trunkdportspythonpy25scientificfilescustomizepypuredarwin"></a>
<div class="addfile"><h4>Added: trunk/dports/python/py25-scientific/files/customize.py-puredarwin (0 => 31663)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/python/py25-scientific/files/customize.py-puredarwin         (rev 0)
+++ trunk/dports/python/py25-scientific/files/customize.py-puredarwin        2007-12-02 15:28:44 UTC (rev 31663)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+extra_compile_args = []
+extra_link_args = []
+include_dirs = []
+
+use_system_lapack = 1
+lapack_library_dirs = []
+lapack_libraries = []
+lapack_extra_link_args = ['-framework', 'vecLib']
+
+use_dotblas = 0
+use_system_blas = 0
+dotblas_include_dirs = []
+dotblas_cblas_header = '<vecLib/vBLAS.h>'
+dotblas_library_dirs = lapack_library_dirs
+dotblas_libraries = lapack_libraries
+dotblas_extra_link_args = ['-framework', 'vecLib']
+
</ins></span></pre>
</div>
</div>
</body>
</html>