Skip to content

Commit

Permalink
mysql57: prevent downloading files after fetch
Browse files Browse the repository at this point in the history
No revbump since installation doesn't change.

Closes https://trac.macports.org/ticket/52185
See https://trac.macports.org/ticket/53301
  • Loading branch information
MarcusCalhoun-Lopez committed Feb 3, 2017
1 parent a233b1d commit d74ef29
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions databases/mysql57/Portfile
Expand Up @@ -5,6 +5,7 @@ PortSystem 1.0
name mysql57
set name_mysql ${name}
version 5.7.17
set boost_version 1.59.0
# Set revision_client and revision_server to 0 on version bump.
set revision_client 0
set revision_server 0
Expand All @@ -25,13 +26,23 @@ if {$subport eq $name} {
description Multithreaded SQL database server
long_description MySQL is an open-source, multi-threaded SQL database.

master_sites mysql:MySQL-${version_branch}
master_sites mysql:MySQL-${version_branch}:mysql \
sourceforge:project/boost/boost/${boost_version}:boost

distname mysql-${version}
cmake.out_of_source yes
set boost_distver [join [split ${boost_version} .] _]
set boost_distname boost_${boost_distver}

checksums rmd160 acd8714fe1bda26466c4490b9e71d510677ac9a5 \
sha256 cebf23e858aee11e354c57d30de7a079754bdc2ef85eb684782458332a4b9651
distfiles ${distname}${extract.suffix}:mysql \
${boost_distname}${extract.suffix}:boost

checksums ${distname}${extract.suffix} \
rmd160 acd8714fe1bda26466c4490b9e71d510677ac9a5 \
sha256 cebf23e858aee11e354c57d30de7a079754bdc2ef85eb684782458332a4b9651 \
${boost_distname}${extract.suffix} \
rmd160 a7974be69a426e8a56b880a412d6c418e4cd751c \
sha256 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac

depends_lib-append port:zlib
depends_run-append port:mysql_select
Expand Down Expand Up @@ -84,7 +95,7 @@ if {$subport eq $name} {
-DWITH_INNODB_MEMCACHED=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DDOWNLOAD_BOOST=1 \
-DWITH_BOOST=${cmake.build_dir}/boost \
-DWITH_BOOST=${worksrcpath}/../${boost_distname} \
-DDOWNLOAD_BOOST_TIMEOUT=2400
configure.cppflags-delete \
-I${prefix}/include
Expand Down

0 comments on commit d74ef29

Please sign in to comment.