<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">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.
</pre></blockquote><div class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">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.</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">It would set all those envvars, then call your command. Then you could:</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">cd mysoftwarepackage</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">usemacports ./configure</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">usemacports make</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">sudo make install</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Then you’d have all the magic of homebrew’s “it just works!” and still have the package isolation of MacPorts.</pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class=""><br class=""></pre><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Ken</pre></div></body></html>