[72655] trunk/dports/python
Ryan Schmidt
ryandesign at macports.org
Fri Oct 22 20:26:35 PDT 2010
On Oct 22, 2010, at 10:51, and.damore at macports.org wrote:
> Revision: 72655
> http://trac.macports.org/changeset/72655
> Author: and.damore at macports.org
> Date: 2010-10-22 08:51:31 -0700 (Fri, 22 Oct 2010)
> Log Message:
> -----------
> Adding ssl module to python25, this is a backport of 2.6 "ssl" module and it's different from _ssl builtin module
> Added: trunk/dports/python/py25-ssl/files/patch-setup_py.diff
> ===================================================================
> --- trunk/dports/python/py25-ssl/files/patch-setup_py.diff (rev 0)
> +++ trunk/dports/python/py25-ssl/files/patch-setup_py.diff 2010-10-22 15:51:31 UTC (rev 72655)
> @@ -0,0 +1,20 @@
> +--- setup.py.orig 2010-10-22 17:23:47.000000000 +0200
> ++++ setup.py 2010-10-22 17:24:21.000000000 +0200
> +@@ -114,7 +114,7 @@
> + from distutils.ccompiler import new_compiler
> +
> + compiler = new_compiler()
> +- inc_dirs = compiler.include_dirs + ['/usr/include']
> ++ inc_dirs = compiler.include_dirs + ['/opt/local/include']
> +- ['/usr/lib'],
> ++ ['/opt/local/lib'],
> Added: trunk/dports/python/py25-ssl/patch-setup_py.diff
> +- inc_dirs = compiler.include_dirs + ['/usr/include']
> ++ inc_dirs = compiler.include_dirs + ['/opt/local/include']
> +- ['/usr/lib'],
> ++ ['/opt/local/lib'],
Again, you cannot hardcode /opt/local in these places. See:
http://trac.macports.org/wiki/PortfileRecipes#hardcode_opt_local
More information about the macports-dev
mailing list