[MacPorts] #39961: Replace port:mysql5 dependencies with file:/lib: ones

MacPorts noreply at macports.org
Fri Aug 2 12:34:06 PDT 2013


#39961: Replace port:mysql5 dependencies with file:/lib: ones
--------------------------+--------------------------------
  Reporter:  mp@…         |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by ryandesign@…):

 bin: or lib: dependencies are for situations where we want to allow
 software not installed by MacPorts to satisfy the dependency. We rarely
 want that.

 path: dependencies are for situations where a number of ports install
 their files to the same locations and it is desired to allow any of them
 to satisfy the dependency. This is not applicable to the mysql situation
 because the mysql ports install their files to different locations. This
 was done deliberately so that the different mysql ports could be installed
 simultaneously.

 What's needed is for each port that uses mysql5 to have variants added to
 allow the user to select among the mysql versions. The currently available
 versions are mysql5, mysql51, mysql55, mysql56, mariadb and percona. A
 single global ticket for this issue is not very useful because each
 individual port affected by this needs an individual fix, and the ports
 may have individual maintainers who need to implement or approve those
 changes.

 The best way to help is to do the work yourself. Pick a port that depends
 on mysql5 and does not offer variants. Add variants for each of the
 mentioned versions of mysql. Test that they work and actually cause the
 software to be linked with the desired version of mysql. Then file a
 ticket for that port and attach your changes as a unified diff.

 Until all mysql5-using ports are updated to have these variants, the
 default should probably still be the old mysql5 port.

-- 
Ticket URL: <https://trac.macports.org/ticket/39961#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list