Postgresql82 port installation location weirdness

Ryan Schmidt ryandesign at macports.org
Sat May 12 00:29:05 PDT 2007


On May 12, 2007, at 02:23, Randall Wood wrote:

> 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)

The php5 port pulls some black magic to work with the layout of the  
mysql5 port. It's not too bad.





More information about the macports-dev mailing list