[MacPorts] #55916: mariadb-10.3 should be created

MacPorts noreply at macports.org
Sun Jun 7 06:00:02 UTC 2020


#55916: mariadb-10.3 should be created
---------------------------+-----------------------
  Reporter:  ryandesign    |      Owner:  michaelld
      Type:  request       |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  mariadb-10.3  |
---------------------------+-----------------------

Comment (by ryandesign):

 Replying to [comment:15 joostdekeijzer]:
 > 1. Now, the conflicts are gone but I think the mariadb-10.2 port should
 apply the same patch to libmariadb.

 Ok great.

 > How is this best done since it will move mariadb_config and
 libmariadb.pc to a different location.

 Find all ports that are currently relying on libmariadb.pc being in its
 current location and modify them to find it at its new location. My guess
 is there are no such ports but I don't know.

 > 2. I don't understand how the `port select` files work (eg.
 mariadb-10.2/files/mariadb-10.2). How do I create those files for 10.3 and
 10.4?

 Start by copying the mariadb-10.2 file, changing its name to mariadb-10.3,
 putting it in the mariadb-10.3 portfile's files directory, and changing
 any references in it to 10.2 to 10.3. Make any additional adjustments
 needed. For example, if a file that was mentioned for mariadb-10.2 no
 longer exists in 10.3, change that line to `-`.

 > Also, they should now also symlink
 `/opt/local/lib/pkgconfig/libmariadb.pc` to
 `/opt/local/lib/mariadb-10.3/pkgconfig/libmariadb.pc`

 Looking in the mariadb-10.2, I see no mention of libmariadb at all. If you
 want `port select mysql` to be able to create symlinks for libmariadb.pc
 or other files that are not currently mentioned there, you can do that,
 but you have to add corresponding lines (even if they're just `-`) to all
 of the files in the mysql select group and revbump all of the affected
 portfiles.

-- 
Ticket URL: <https://trac.macports.org/ticket/55916#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list