[MacPorts] #49296: kdelibs4::FindMySQL.cmake

MacPorts noreply at macports.org
Thu Oct 15 06:06:42 PDT 2015


#49296: kdelibs4::FindMySQL.cmake
-------------------------+--------------------------------
 Reporter:  rjvbertin@…  |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  haspatch     |       Port:  kdelibs4
-------------------------+--------------------------------
 Building a new Calligra version I ran into an issue with the cmake macro
 for finding the MySQL libraries when one has `port:mariadb` installed
 instead of a "regular" mysql port -- and that's actually the default with
 `port:akonadi`.

 I'm attaching a patch that adds support for the mysql libraries provided
 by MariaDB (and underlines once more that too much
 sandboxing/compartmentalisation has undesirable implications). The patch
 will require a corresponding post-patch in the kdelibs Portfile, of
 course:

 {{{
 post-patch {
     reinplace "s|%PREFIX%|${prefix}|g" \
         ${worksrcpath}/cmake/modules/FindMySQL.cmake
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49296>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list