Ticket #19415: 5.4.3-fixed.diff

File 5.4.3-fixed.diff, 5.2 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
  • databases/mysql5-devel/files/patch-Makefile.in.diff

     
    1 --- Makefile.in.orig    2009-10-06 12:57:22.000000000 -0500
    2 +++ Makefile.in 2009-10-22 01:36:36.000000000 -0500
     1--- Makefile.in.orig    2009-09-29 02:43:52.000000000 -0500
     2+++ Makefile.in 2009-11-12 23:13:12.000000000 -0600
    33@@ -412,7 +412,7 @@
    4                         @sql_union_dirs@ unittest \
     4                        @sql_union_dirs@ unittest storage plugin \
    55                        @sql_server@ @man_dirs@ tests \
    66                        netware @libmysqld_dirs@ \
    7 -                       mysql-test support-files sql-bench @tools_dirs@ \
    8 +                       support-files @tools_dirs@ \
     7-                       mysql-test support-files sql-bench \
     8+                       support-files \
    99                        win
    1010 
    1111 DIST_SUBDIRS = . include Docs zlib \
  • databases/mysql5-devel/Portfile

     
    44
    55name                    mysql5-devel
    66conflicts               mysql5 mysql4
    7 version                 5.1.40
    8 revision                1
     7version                 5.4.3-beta
    98set branch              [join [lrange [split ${version} .] 0 1] .]
    109homepage                http://www.mysql.com/
    1110categories              databases
     
    1615dist_subdir             mysql5
    1716use_parallel_build      yes
    1817
    19 # http://bugs.mysql.com/bug.php?id=47360
    20 universal_variant       no
    21 
    2218description \
    2319    Multithreaded SQL database server
    2420
     
    3127    http://mysql.he.net/Downloads/MySQL-${branch}/ \
    3228    http://mirrors.sunsite.dk/mysql/Downloads/MySQL-${branch}/ \
    3329    http://sunsite.informatik.rwth-aachen.de/mysql/Downloads/MySQL-${branch}/ \
    34     http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/ \
    35     http://www.innodb.com/download/innodb_plugin/:plugin
     30    http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
    3631
    3732checksums \
    38     [suffix ${distname}] \
    39         md5     32e7373c16271606007374396e6742ad \
    40         sha1    00b600763b4659d9e0256ea6dcce378175aa8d9e \
    41         rmd160  330722fc012777c53933d6803d51a3f1b92d9892
     33    md5     9ea08558d51b1d56d3784028d57c2b08 \
     34    sha1    daf96fb8adcdad23afed921727fe767ff0939711 \
     35    rmd160  dc191579cc429441da7d20a1f50b25754fe37ad0
    4236
    4337depends_lib \
    4438    port:zlib \
     
    9185depends_lib-append      port:readline
    9286configure.args-append   --without-readline
    9387
    94 # Build libmysqld embedded server
    95 configure.cflags-append -fPIC
    96 configure.cxxflags-append -fPIC
    97 configure.args-append --with-embedded-server --with-pic
     88variant no_embedded_server description {Don't build the libmysqld embedded server (thereby allowing a universal build)} {}
     89if {![variant_isset no_embedded_server]} {
     90    # Build libmysqld embedded server.
     91    configure.cflags-append -fPIC
     92    configure.cxxflags-append -fPIC
     93    configure.args-append --with-embedded-server --with-pic
     94   
     95    # http://bugs.mysql.com/bug.php?id=47360
     96    universal_variant no
     97}
    9898
    9999post-configure {
    100100    reinplace "s;openssl_includes = -I;openssl_includes_includes = -I${prefix}/include/openssl;" ${worksrcpath}/tests/Makefile
    101101}
    102102
    103 set plugin_version      1.0.4
    104 set plugin_distname     innodb_plugin-${plugin_version}
    105 set plugin_distfile     [suffix ${plugin_distname}]
    106 set plugin_worksrcdir   ${plugin_distname}
    107 set plugin_worksrcpath  ${workpath}/${plugin_worksrcdir}
    108 set innobase_dir        storage/innobase
    109 
    110 variant innodb_plugin description "Use the InnoDB Plugin ${plugin_version} instead of the built-in InnoDB support" {
    111     distfiles-append        ${plugin_distfile}:plugin
    112    
    113     checksums-append \
    114         ${plugin_distfile} \
    115             md5     4350ba7c1520edce35635f982449efb3 \
    116             sha1    c39e2a9cfa18b9f103c930d0c4a8edced81ed4ee \
    117             rmd160  bd0467a10781677a7a7bb2e58ad38e0a43841d7f
    118    
    119     post-extract {
    120         delete ${worksrcpath}/${innobase_dir}
    121         move ${plugin_worksrcpath} ${worksrcpath}/${innobase_dir}
    122     }
    123 }
    124 
    125103pre-destroot {
    126104    xinstall -m 755 -d ${destroot}${sysconfdir}
    127105    destroot.keepdirs-append ${destroot}${sysconfdir}
     
    150128}
    151129
    152130livecheck.type          regex
     131livecheck.version       [lindex [split ${version} -] 0]
    153132livecheck.url           http://dev.mysql.com/
    154 livecheck.regex         "(5\\.1\\.\[0-9\.\]+)"
     133livecheck.regex         {(5\.4\.[0-9.]+)}
  • databases/mysql5-server-devel/Portfile

     
    33PortSystem              1.0
    44
    55name                    mysql5-server-devel
    6 version                 5.1.40
     6version                 5.4.3-beta
    77set branch              [join [lrange [split ${version} .] 0 1] .]
    88homepage                http://www.mysql.com/
    99categories              databases
     
    7070}
    7171
    7272livecheck.type          regex
     73livecheck.version       [lindex [split ${version} -] 0]
    7374livecheck.url           http://dev.mysql.com/
    74 livecheck.regex         "(5\\.1\\.\[0-9\.\]+)"
     75livecheck.regex         {(5\.4\.[0-9.]+)}