[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    Re: postgresql83, binaries, and paths?
From:       "Daniel J. Luke" <dluke () geeklair ! net>
Date:       2008-07-28 15:00:21
Message-ID: D3D171F4-8865-41CB-A35D-564FFEEDD61B () geeklair ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Jul 27, 2008, at 5:20 PM, Jay Levitt wrote:
> A reasonable intention.  But then why bother linking psql (and only  
> psql),
> and under a name where nobody's looking for it?

Because 'normal' (non-macports) installs of postgres usually install  
into their own directory, so people using postgres often add the  
postgres specific bin/ directory to their path.

Using the macports postgres83 would be similar, and having the link  
there means you can just type 'psql' after munging your path.

> I realize the answer to all these questions may be "because that's  
> the way
> someone wrote it once"; in that case, pretend I'm asking "would a  
> patch to
> change that be welcomed/a good idea/grudgingly accepted/treated as a
> maternal-lineage insult?"

It's usually up to the maintainer to determine if a patch is a good  
idea or not (or how any ideas it has can be incorporated into the port).

[My personal opinion is that adding to the end of $PATH is a better  
idea, that we should use paths.d, and that we should deal with any  
problems this causes where a package picks up a system tool where we  
would rather have it pick up a macports tool - but obviously other  
people have different opinions :) ]

--
Daniel J. Luke
+========================================================+
| *---------------- dluke@geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+




["PGP.sig" (application/pgp-signature)]

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic