Ticket #39906: Portfile.2.patch

File Portfile.2.patch, 1.4 KB (added by mp@…, 11 years ago)

Patch (hopefully) as per the stealth upgrade recipe

  • Portfile

    old new  
    66name                    mysql5
    77version                 5.1.70
    88# Please set revision_client and revision_server to 0 if you bump version.
    9 set revision_client     0
    10 set revision_server     0
     9# Also change back the dist_subdir (stealth upgrade fixed)
     10set revision_client     1
     11set revision_server     1
    1112set branch              [join [lrange [split ${version} .] 0 1] .]
    1213homepage                http://www.mysql.com/
    1314categories              databases
     
    1516maintainers             ryandesign pixilla
    1617license                 GPL-2
    1718distname                mysql-${version}
    18 dist_subdir             mysql51
     19dist_subdir             mysql51/${version}_1
    1920use_parallel_build      yes
    2021
    2122description \
     
    3334    http://mirror.facebook.net/mysql/Downloads/MySQL-${branch}/ \
    3435    http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
    3536
    36 checksums           rmd160  9a7978aa9370c56ed5c3a0a9f3ca135255f19cd8 \
    37                     sha256  9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed
     37checksums           rmd160  3992485cf86171c9838585e1e073ff999966a11d \
     38                    sha256 05ffdce6b94d8ea6bb69a1585685c40e8f3e5ce903231fc62d475a56ebec040c
    3839
    3940set major_version       [strsed ${version} {s/\..*$//}]
    4041set mysql               mysql${major_version}