diff -Nurp dports/python/py-pysvn/Portfile myports/python/py-pysvn/Portfile
old
|
new
|
PortSystem 1.0 |
4 | 4 | PortGroup python 1.0 |
5 | 5 | |
6 | 6 | name py-pysvn |
7 | | version 1.7.6 |
8 | | revision 3 |
| 7 | version 1.8.0 |
| 8 | revision 2 |
9 | 9 | categories-append devel |
10 | 10 | maintainers blair openmaintainer |
11 | 11 | platforms darwin |
… |
… |
homepage http://pysvn.tigris.org/ |
20 | 20 | |
21 | 21 | master_sites http://pysvn.barrys-emacs.org/source_kits/ |
22 | 22 | distname pysvn-${version} |
23 | | checksums md5 010a80f0058713209d62e96b20afbde9 \ |
24 | | sha1 720399815278a0b29a2ea87a09a0d2807d4614e4 \ |
25 | | rmd160 f6b44e293ec4a94cd610cb8e1f2b711c1aad5aee |
| 23 | checksums md5 3999a7680f4d3c4d3bddfc45edf65788 \ |
| 24 | sha1 f1d584bc3b0d15eb27606ca1a6c364dc44fee345 \ |
| 25 | rmd160 3216c21f72247c4b8981c73384d2f623c9887579 |
26 | 26 | |
27 | 27 | python.versions 26 27 |
28 | 28 | |
… |
… |
if {[string match *clang* ${configure.cx |
34 | 34 | if {${name} ne ${subport}} { |
35 | 35 | depends_lib-append port:subversion |
36 | 36 | |
37 | | patchfiles patch-Source_setup_configure.py.diff |
38 | | |
39 | 37 | worksrcdir ${worksrcdir}/Source |
40 | 38 | |
41 | 39 | use_configure yes |
diff -Nurp dports/python/py-pysvn/files/patch-Source_setup_configure.py.diff myports/python/py-pysvn/files/patch-Source_setup_configure.py.diff
old
|
new
|
|
1 | | diff -ru ../../pysvn-1.7.6.orig/Source/setup_configure.py ./setup_configure.py |
2 | | --- ../../pysvn-1.7.6.orig/Source/setup_configure.py 2012-02-28 10:53:48.000000000 -0800 |
3 | | +++ ./setup_configure.py 2012-08-17 20:25:49.000000000 -0700 |
4 | | @@ -515,7 +515,7 @@ |
5 | | self.get_lib_name_for_platform( 'libsvn_client-1' ) ) |
6 | | # if we are using the Fink SVN then remember this |
7 | | self.is_mac_os_x_fink = folder.startswith( '/sw/' ) |
8 | | - self.is_mac_os_x_darwin_ports = folder.startswith( '/opt/local/' ) |
9 | | + self.is_mac_os_x_darwin_ports = False |
10 | | return folder |
11 | | |
12 | | def find_apr_inc( self ): |
13 | | @@ -1014,8 +1014,7 @@ |
14 | | |
15 | | def setupUtilities( self ): |
16 | | self._addVar( 'CCCFLAGS', |
17 | | - '-g ' |
18 | | - '-no-long-double ' |
19 | | + '-g -O2 ' |
20 | | '-Wall -fPIC -fexceptions -frtti ' |
21 | | '-I. -I%(APR_INC)s -I%(SVN_INC)s ' |
22 | | '-D%(DEBUG)s' ) |
23 | | @@ -1031,8 +1030,7 @@ |
24 | | self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() ) |
25 | | |
26 | | py_cflags_list = [ |
27 | | - '-g', |
28 | | - '-no-long-double', |
29 | | + '-g -O2', |
30 | | '-Wall -fPIC -fexceptions -frtti', |
31 | | '-I. -I%(APR_INC)s -I%(SVN_INC)s', |
32 | | '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s', |