Ticket #53352: Portfile-thrift.diff
File Portfile-thrift.diff, 2.4 KB (added by m4rin (Marin), 8 years ago) |
---|
-
Portfile
old new 5 5 6 6 name thrift 7 7 conflicts thrift-devel 8 version 0. 9.29 revision 28 version 0.10.0 9 revision 0 10 10 categories devel 11 11 license Apache-2 12 12 maintainers blair openmaintainer … … 23 23 homepage http://thrift.apache.org/ 24 24 master_sites apache:${name}/${version} 25 25 26 checksums sha1 02f78b158da795ea89a26ce41964fbe562cc4235\27 rmd160 a858d2ef0e4e41305e43ef42e9cc602915a47c1f\28 sha256 cef50d3934c41db5fa7724440cc6f10a732e7a77fe979b98c23ce4572534957026 checksums sha1 5c67fb6d2e01fa4ee02823a9c577f4d985f0ecfe \ 27 rmd160 cf7d49bf4d39c980c7549088e947c12df4d1046d \ 28 sha256 2289d02de6e8db04cbbabb921aeb62bfe3098c4c83f36eec6c31194301efa10b 29 29 30 30 use_parallel_build no 31 31 32 32 depends_build port:bison \ 33 33 port:boost \ 34 34 port:libevent \ 35 port:pkgconfig 35 port:pkgconfig \ 36 port:autoconf \ 37 port:automake \ 38 port:libtool 36 39 depends_lib-append path:lib/libssl.dylib:openssl 37 40 38 patchfiles 8c12b19e.diff 39 patch.pre_args -p1 41 use_autoreconf yes 40 42 41 p ost-patch{43 pre-configure { 42 44 reinplace \ 43 "s# -l:libboost_unit_test_framework\.a#${prefix}/lib/libboost_unit_test_framework-mt.a#g" \44 ${worksrcpath}/ lib/cpp/test/Makefile.in45 foreach l { filesystem program_options system} {45 "s#libboost_unit_test_framework\.a#libboost_unit_test_framework-mt.dylib#g" \ 46 ${worksrcpath}/configure.ac 47 foreach l {chrono filesystem program_options system thread} { 46 48 reinplace \ 47 "s# -lboost_${l}#-lboost_${l}-mt#g" \48 ${worksrcpath}/ test/cpp/Makefile.in49 "s#libboost_${l}\.a#libboost_${l}-mt.dylib#g" \ 50 ${worksrcpath}/configure.ac 49 51 } 52 53 system "cd ${worksrcpath} && touch README NEWS AUTHORS INSTALL COPYING ChangeLog" 50 54 } 51 55 52 56 conflicts_build ${name} … … 66 70 --with-qt4=no \ 67 71 --with-ruby=no 68 72 73 configure.cppflags-append -DBOOST_TEST_DYN_LINK 74 69 75 variant java description "enable the Java library" { 70 76 depends_build-append bin:ant:apache-ant 71 77 configure.env-append JAVA_PREFIX=${prefix}/share/java