[Mono-osx] Mac OSX and /etc/profile.d

Rusty Howell rhowell at novell.com
Wed Mar 18 14:24:47 EDT 2009


Hey everyone,

What's the proper thing to do with pkg-config files?  Mono on OSX
isntalls a bunch of .pc files in
/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig

But in order to use them, the user must set PKG_CONFIG_PATH.  I see that
most pkg-config files are in /opt/local/lib/pkgconfig or
/opt/local/share/pkgconfig.  Should the Mono installation process
install (or symlink) .pc files in one of those directories, or should
Mono leave the .pc files where they are and set PKG_CONFIG_PATH somewhere.

I've discussed a few options in the comments of this bug (
https://bugzilla.novell.com/show_bug.cgi?id=469584 ). What's the best
option here? Is there a proper way (the Mac way) to do this?



More information about the Mono-osx mailing list