> If we don't already have a section in the Guide explaining how to compile 
> software outside of MacPorts using dependencies from MacPorts (i.e. by 
> setting CFLAGS, CPPFLAGS, LDFLAGS, PKG_CONFIG_PATH) then that would be a good 
> thing to add.

While I continue on my “try to make MacPorts approachable for common users” 
rampage … wouldn’t it be cool if there was a simple shell script that came with 
MP that did this, prepopulated with the macports prefix.

It would set all those envvars, then call your command. Then you could:

cd mysoftwarepackage
usemacports ./configure
usemacports make
sudo make install


Then you’d have all the magic of homebrew’s “it just works!” and still have the 
package isolation of MacPorts.

Ken

Reply via email to