New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14142 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

Make mysql5 and mysql5-devel as similar as possible

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jwa@…
Port: mysql5, mysql5-devel

Description

The mysql5 and mysql5-devel portfiles currently differ in a number of ways:

  1. The whitespace differs. Fix this so that it's easy to see at a glance how mysql5 and mysql5-devel differ functionally.
  2. mysql5-devel installs to different directories than mysql5. Fix this so that ports that depend on mysql5 would also work if mysql5-devel were installed instead.
  3. Possibly more?

jwa, the other maintainer of mysql5-devel, agrees with these changes.

Change History

Changed 4 years ago by ryandesign@…

  • r33655: whitespace and formatting changes only

Changed 4 years ago by ryandesign@…

  • r33697: Changed mysql5-devel to install into the same locations as mysql5. Note that it already installed some files to the same locations before, such that it was never possible to install mysql5 and mysql5-devel at the same time:
$ sudo port install mysql5-devel
Password:
Portfile changed since last build; discarding previous state.
--->  Fetching mysql5-devel
--->  Verifying checksum(s) for mysql5-devel
--->  Extracting mysql5-devel
--->  Configuring mysql5-devel
--->  Building mysql5-devel with target all
--->  Staging mysql5-devel into destroot
Warning: mysql5-devel requests to install files outside the common directory structure!
--->  Installing mysql5-devel 5.1.22-rc_0+darwin_8
--->  Activating mysql5-devel 5.1.22-rc_0+darwin_8
Error: Target org.macports.activate returned: Image error: /opt/local/bin/my_print_defaults5 is being used by the active mysql5 port.  Please deactivate this port first, or use the -f flag to force the activation.
Error: Status 1 encountered during processing.
$

This change will therefore just make it easier for other software to link with either mysql5 or mysql5-devel, whichever one the user may have installed.

Changed 4 years ago by ryandesign@…

The mysql5 portfile uses --with-federated-storage-engine (added in #12604) and I thought I needed to add that to mysql5-devel (and did, in r33698). But it turns out MySQL 5.1 enables the federated storage engine not with that switch, but with the --with-plugins switch, and mysql5-devel already has --with-plugins=all (so I reverted my change in r33699).

Changed 4 years ago by ryandesign@…

  • r33700: make the master_sites sections more similar by computing and using a variable for the branch version rather than repeating the number in each URL.

Changed 4 years ago by ryandesign@…

mysql5-devel uses --without-server; this will be added to the next version of mysql5 via #14146.

Changed 3 years ago by ryandesign@…

  • port set to mysql5, mysql5-devel
  • r39949: some more whitespace changes to mysql5-devel to match mysql5

Changed 3 years ago by ryandesign@…

r44949: remove ${vers} variable from mysql5-devel

Changed 3 years ago by ryandesign@…

r44956: remove --without-server configure arg from mysql5-devel

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 2 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

The last differences were resolved in r59788.

Note: See TracTickets for help on using tickets.