Ticket #53301: Portfile.diff

File Portfile.diff, 2.1 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago)
  • Portfile

    old new  
    55name                mysql57
    66set name_mysql      ${name}
    77version             5.7.17
     8set boost_version   1.59.0
    89# Set revision_client and revision_server to 0 on version bump.
    910set revision_client 0
    1011set revision_server 0
     
    2526    description         Multithreaded SQL database server
    2627    long_description    MySQL is an open-source, multi-threaded SQL database.
    2728
    28     master_sites        mysql:MySQL-${version_branch}
     29    master_sites        mysql:MySQL-${version_branch}:mysql \
     30                        sourceforge:project/boost/boost/${boost_version}:boost
    2931
    3032    distname            mysql-${version}
    3133    cmake.out_of_source yes
     34    set boost_distver   [join [split ${boost_version} .] _]
     35    set boost_distname  boost_${boost_distver}
    3236
    33     checksums           rmd160  acd8714fe1bda26466c4490b9e71d510677ac9a5 \
    34                         sha256  cebf23e858aee11e354c57d30de7a079754bdc2ef85eb684782458332a4b9651
     37    distfiles           ${distname}${extract.suffix}:mysql \
     38                        ${boost_distname}${extract.suffix}:boost
     39
     40    checksums           ${distname}${extract.suffix} \
     41                        rmd160  acd8714fe1bda26466c4490b9e71d510677ac9a5 \
     42                        sha256  cebf23e858aee11e354c57d30de7a079754bdc2ef85eb684782458332a4b9651 \
     43                        ${boost_distname}${extract.suffix} \
     44                        rmd160  a7974be69a426e8a56b880a412d6c418e4cd751c \
     45                        sha256  47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac
    3546
    3647    depends_lib-append  port:zlib
    3748    depends_run-append  port:mysql_select
     
    8495        -DWITH_INNODB_MEMCACHED=1 \
    8596        -DWITH_PARTITION_STORAGE_ENGINE=1 \
    8697        -DDOWNLOAD_BOOST=1 \
    87         -DWITH_BOOST=${cmake.build_dir}/boost \
     98        -DWITH_BOOST=${worksrcpath}/../${boost_distname} \
    8899        -DDOWNLOAD_BOOST_TIMEOUT=2400
    89100    configure.cppflags-delete \
    90101        -I${prefix}/include