Ticket #56750: Portfile.diff
File Portfile.diff, 2.2 KB (added by josephsacco, 6 years ago) |
---|
-
(a) Portfile- vs. (b) Portfile
a b 2 2 PortGroup python 1.0 3 3 4 4 name py-pysvn 5 version 1. 8.05 version 1.9.6 6 6 categories-append devel 7 7 maintainers {blair @blair} openmaintainer 8 8 platforms darwin … … 17 17 18 18 master_sites http://pysvn.barrys-emacs.org/source_kits/ 19 19 distname pysvn-${version} 20 checksums md5 3999a7680f4d3c4d3bddfc45edf65788 \ 21 sha1 f1d584bc3b0d15eb27606ca1a6c364dc44fee345 \ 22 sha256 39596f4884ed689cdb5a4e210e421724302a566c7ba756cc4d46bbfeb0c8326b 20 checksums md5 e3243d13ba7e3c926924db5ad80dbdbd \ 21 sha1 88b072bdd4b2ce0d32e83fce29c631b2b798a483 \ 22 sha256 1508f63e66fc9d1303f8fd0f49547b59492f6977be4434914c38bc29dc82b2d6 \ 23 rmd160 b4bf58b682408c79e01b50d3f6902dba17814117 \ 24 size 515394 23 25 24 python.versions 2 6 2726 python.versions 27 36 37 25 27 26 28 set cxx_stdlibflags {} 27 29 if {[string match *clang* ${configure.cxx}]} { … … 31 33 if {${name} ne ${subport}} { 32 34 depends_lib-append port:subversion 33 35 34 patchfiles patch-Source_setup_configure.py.diff 36 patch.dir ${worksrcpath} 37 patchfiles patch-Source_setup_configure.py.diff \ 38 patch-IndirectPythonInterface.cxx.diff 35 39 36 worksrcdir ${worksrcdir}/Source37 40 38 41 use_configure yes 39 42 configure.universal_args-delete --disable-dependency-tracking 40 43 44 worksrcdir ${worksrcdir}/Source 41 45 pre-configure { 42 46 system "cd ${worksrcpath} && ${python.bin} setup.py backport" 43 47 reinplace "s|'gcc|'${configure.cc}|g" \ … … 51 55 configure.args --apr-inc-dir=${prefix}/include/apr-1 \ 52 56 --apu-inc-dir=${prefix}/include/apr-1 \ 53 57 --apr-lib-dir=${prefix}/lib \ 54 --svn-root-dir=${prefix} 58 --svn-bin-dir=${prefix}/bin \ 59 --svn-inc-dir=${prefix}/include/subversion-1 \ 60 --svn-lib-dir=${prefix}/lib \ 61 --pycxx-dir=../Import/pycxx-7.0.3 55 62 configure.universal_args-delete --disable-dependency-tracking 56 63 57 64 post-configure {