Postgresql82 port installation location weirdness

Randall Wood rhwood at mac.com
Sat May 12 00:23:35 PDT 2007


Why is the postgresql82 port installed in the file locations its  
installed in?

It is spread out strangely, and this making me pull some black magic  
to get a port that depends on it working, that I would rather not do.

It installs the following data in the following places:
--sysconfdir=${prefix}/etc/${name} \
--bindir=${prefix}/lib/${name}/bin \
--libdir=${prefix}/lib/${name} \
--includedir=${prefix}/lib/${name}/include/${name} \

I am porting an autoconf-based package (libgda3) that detects  
postgres database libraries in /path/to/postgres/lib and is fairly  
inflexible about this.

I would like to suggest that maybe we need to create a space in $ 
{prefix} where ports that need to be installed in a private namespace  
can be installed there, such as ${prefix}/port In the case of  
postgresql82, this would mean installing in ${prefix}/port/ 
postgresql82 (although I would leave the conf dir where it is at)


Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-dev mailing list