Ticket #11914 (closed enhancement: fixed)
RFE: rb-dbi / db-dbd-* 0.0.23 move to use variants instead of separate ports
| Reported by: | t.lucas@… | Owned by: | boeyms@… |
|---|---|---|---|
| Priority: | Low | Milestone: | Port Enhancements |
| Component: | ports | Version: | |
| Keywords: | ruby rb-dbi databases variants | Cc: | roberto@…, t.lucas@…, boeyms@…, shu@… |
| Port: |
Description
Currently to install rb-dbi with extra database modules requires installing separate ports, i.e. db-dbd-mysql and rb-dbd-postgresql. Both of these ports do pretty much the same thing: add a dependency, and install rb-dbi with an extra configure line. The biggest problem is you can't have both the mysql and postgresql DBI drivers intalled at the same time. As there's other Ruby-DBI drivers too (like #11913) things would get worse as more drivers are added.
Wouldn't variants be a better solution?
port install rb-dbi +mysql +postgresql +odbc
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

