Ticket #19415: 5.4.3-remaining.diff

File 5.4.3-remaining.diff, 3.3 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago)
  • databases/mysql5-devel/Portfile

     
    1616dist_subdir             mysql5
    1717use_parallel_build      yes
    1818
    19 # http://bugs.mysql.com/bug.php?id=47360
    20 universal_variant       no
    21 
    2219description \
    2320    Multithreaded SQL database server
    2421
     
    3128    http://mysql.he.net/Downloads/MySQL-${branch}/ \
    3229    http://mirrors.sunsite.dk/mysql/Downloads/MySQL-${branch}/ \
    3330    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
     31    http://ftp.plusline.de/mysql/Downloads/MySQL-${branch}/
    3632
    3733checksums \
    38     [suffix ${distname}] \
    3934    md5     9ea08558d51b1d56d3784028d57c2b08 \
    4035    sha1    daf96fb8adcdad23afed921727fe767ff0939711 \
    4136    rmd160  dc191579cc429441da7d20a1f50b25754fe37ad0
     
    9186depends_lib-append      port:readline
    9287configure.args-append   --without-readline
    9388
    94 # Build libmysqld embedded server
    95 configure.cflags-append -fPIC
    96 configure.cxxflags-append -fPIC
    97 configure.args-append --with-embedded-server --with-pic
     89variant no_embedded_server description {Don't build the libmysqld embedded server (thereby allowing a universal build)} {}
     90if {![variant_isset no_embedded_server]} {
     91    # Build libmysqld embedded server.
     92    configure.cflags-append -fPIC
     93    configure.cxxflags-append -fPIC
     94    configure.args-append --with-embedded-server --with-pic
     95   
     96    # http://bugs.mysql.com/bug.php?id=47360
     97    universal_variant no
     98}
    9899
    99100post-configure {
    100101    reinplace "s;openssl_includes = -I;openssl_includes_includes = -I${prefix}/include/openssl;" ${worksrcpath}/tests/Makefile
    101102}
    102103
    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 
    125104pre-destroot {
    126105    xinstall -m 755 -d ${destroot}${sysconfdir}
    127106    destroot.keepdirs-append ${destroot}${sysconfdir}
  • 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