[115618] trunk/dports/python/py-cvxopt/files

larryv at macports.org larryv at macports.org
Mon Jan 6 17:35:23 PST 2014


Revision: 115618
          https://trac.macports.org/changeset/115618
Author:   larryv at macports.org
Date:     2014-01-06 17:35:22 -0800 (Mon, 06 Jan 2014)
Log Message:
-----------
py*-cvxopt: Actually provide those convenient patches. Herp derp.

Added Paths:
-----------
    trunk/dports/python/py-cvxopt/files/atlas.patch
    trunk/dports/python/py-cvxopt/files/patch-setup.py.diff

Added: trunk/dports/python/py-cvxopt/files/atlas.patch
===================================================================
--- trunk/dports/python/py-cvxopt/files/atlas.patch	                        (rev 0)
+++ trunk/dports/python/py-cvxopt/files/atlas.patch	2014-01-07 01:35:22 UTC (rev 115618)
@@ -0,0 +1,19 @@
+diff --git a/setup.py b/setup.py
+index 34f2fbb..43c611e 100644
+--- a/setup.py
++++ b/setup.py
+@@ -2,11 +2,11 @@ from distutils.core import setup, Extension
+ from glob import glob
+ 
+ # Modifiy this if BLAS and LAPACK libraries are not in /usr/lib.
+-BLAS_LIB_DIR = '/usr/lib'
++BLAS_LIB_DIR = '__PREFIX__/lib'
+ 
+ # Default names of BLAS and LAPACK libraries
+-BLAS_LIB = ['blas']
+-LAPACK_LIB = ['lapack']
++BLAS_LIB = ['tatlas']
++LAPACK_LIB = ['tatlas']
+ BLAS_EXTRA_LINK_ARGS = []
+ 
+ # Set environment variable BLAS_NOUNDERSCORES=1 if your BLAS/LAPACK do

Added: trunk/dports/python/py-cvxopt/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-cvxopt/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py-cvxopt/files/patch-setup.py.diff	2014-01-07 01:35:22 UTC (rev 115618)
@@ -0,0 +1,50 @@
+diff --git a/setup.py b/setup.py
+index 34f2fbb..fe1b071 100644
+--- a/setup.py
++++ b/setup.py
+@@ -18,37 +18,37 @@ BLAS_NOUNDERSCORES = False
+ BUILD_GSL = 0
+ 
+ # Directory containing libgsl (used only when BUILD_GSL = 1).
+-GSL_LIB_DIR = '/usr/lib'
++GSL_LIB_DIR = '__PREFIX__/lib'
+ 
+ # Directory containing the GSL header files (used only when BUILD_GSL = 1).
+-GSL_INC_DIR = '/usr/include/gsl'
++GSL_INC_DIR = '__PREFIX__/include'
+ 
+ # Set to 1 if you are installing the fftw module.
+ BUILD_FFTW = 0 
+ 
+ # Directory containing libfftw3 (used only when BUILD_FFTW = 1).
+-FFTW_LIB_DIR = '/usr/lib'
++FFTW_LIB_DIR = '__PREFIX__/lib'
+ 
+ # Directory containing fftw.h (used only when BUILD_FFTW = 1).
+-FFTW_INC_DIR = '/usr/include'
++FFTW_INC_DIR = '__PREFIX__/include'
+ 
+ # Set to 1 if you are installing the glpk module.
+ BUILD_GLPK = 0 
+ 
+ # Directory containing libglpk (used only when BUILD_GLPK = 1).
+-GLPK_LIB_DIR = '/usr/lib'
++GLPK_LIB_DIR = '__PREFIX__/lib'
+ 
+ # Directory containing glpk.h (used only when BUILD_GLPK = 1).
+-GLPK_INC_DIR = '/usr/include'
++GLPK_INC_DIR = '__PREFIX__/include'
+ 
+ # Set to 1 if you are installing the DSDP module.
+ BUILD_DSDP = 0
+ 
+ # Directory containing libdsdp (used only when BUILD_DSDP = 1).
+-DSDP_LIB_DIR = '/usr/lib'
++DSDP_LIB_DIR = '__PREFIX__/lib'
+  
+ # Directory containing dsdp5.h (used only when BUILD_DSDP = 1).
+-DSDP_INC_DIR = '/usr/include/dsdp'
++DSDP_INC_DIR = '__PREFIX__/include'
+ 
+ # No modifications should be needed below this line.
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140106/1129134f/attachment-0001.html>


More information about the macports-changes mailing list