Opened 15 years ago

Last modified 13 years ago

#20810 closed request

postgresql_select port request — at Version 5

Reported by: apinstein@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jwa@…
Port: postgresql_select

Description (last modified by ryandesign (Ryan Carsten Schmidt))

configure.args  --sysconfdir=${prefix}/etc/${name} \
                --bindir=${libdir}/bin \

After install the pgsql executables are all in /opt/local/lib/postgresql83/bin/psql instead of /opt/local/bin. This is pretty annoying since I have to add the pg-specific bin dir to my path.

Why aren't these droppped into bin/? Is there a name conflict with executables from other ports? Do you want to preserve the ability to run multiple pg's side-by-side?

I would be OK with that decision but at least you should provide a variant to directly install the executables into the bin dir.

Change History (5)

comment:1 Changed 15 years ago by blb@…

Cc: jwa@… added
Owner: changed from macports-tickets@… to mww@…
Port: postgresql83 added

Yes, the idea is to make sure you can have, say, postgresql83 and postgresql84 installed simultaneously (eg, if you are upgrading, you'll need to dump from 8.3 then import to 8.4, so easiest is to have them both available).

Leaving for mww/jwa whether a variant makes sense...

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Summary: postgresql83 8.3.7 Why are all the executables in libdir?postgresql83: add a variant to install binaries into ${prefix}/bin

Rephrasing summary to be an enhancement request rather than a question...

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

A postgresql-select port would be the appropriate way to implement this feature. Has duplicate #28133.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

#17150 is also a duplicate in a way.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: postgresql_select added; postgresql83 removed
Summary: postgresql83: add a variant to install binaries into ${prefix}/binpostgresql_select port request
Type: enhancementrequest
Version: 1.7.1
Note: See TracTickets for help on using tickets.