Ignore:
Timestamp:
Feb 23, 2016, 1:12:15 AM (3 years ago)
Author:
pixilla@…
Message:

databases/mysql56: Refactor yassl patch to fix building with openssl variant. Closes #50699

Location:
trunk/dports/databases/mysql56
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mysql56/Portfile

    r145938 r145955  
    99# Set revision_client and revision_server to 0 on
    1010# version bump.
    11 set revision_client 3
     11set revision_client 4
    1212set revision_server 0
    1313set version_branch  [join [lrange [split ${version} .] 0 1] .]
     
    3838    patch.pre_args      -p1
    3939    patchfiles          patch-cmake-install_layout.cmake.diff
     40
     41    # Add yasll includes and libs before prefix
     42    patchfiles-append   patch-cmake-install_layout.cmake-yassl.diff
    4043
    4144    # Fix detection of htonll/ntohll.
     
    8285        reinplace "s|@BINDIR@|${prefix}/lib/${name}/bin|g" \
    8386            ${worksrcpath}/scripts/mysql_secure_installation.pl.in
     87    }
     88
     89    post-configure {
     90        ui_error "Debugging cmake"
    8491    }
    8592
     
    158165    }
    159166
    160     variant openssl description {Enable OpenSSL support} {
     167    variant openssl description {Instead of the bundled yaSSL use OpenSSL} {
    161168        configure.args-delete   -DWITH_SSL:STRING=bundled
    162169        configure.args-append   -DWITH_SSL:STRING=${prefix}
    163170        depends_lib-append      path:lib/libssl.dylib:openssl
    164171        archcheck.files-append  lib/libssl.dylib
     172        patchfiles-delete       patch-cmake-install_layout.cmake-yassl.diff
    165173    }
    166174
Note: See TracChangeset for help on using the changeset viewer.