<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-guide.

</pre>
<p><a href="https://github.com/macports/macports-guide/commit/dd11fb3160375327368ae4f39cacd3286955a6a6">https://github.com/macports/macports-guide/commit/dd11fb3160375327368ae4f39cacd3286955a6a6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit dd11fb3160375327368ae4f39cacd3286955a6a6
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Sun Apr 15 05:16:30 2018 +0200

<span style='display:block; white-space:pre;color:#404040;'>    Makefile: Find PREFIX by checking for 'port'
</span>---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea0e1b4..d32ca26 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@
</span> UNAME := $(shell uname)
 
 # Prefix of the MacPorts installation.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PREFIX = /opt/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PREFIX = $(realpath $(realpath $(shell which port))/../..)
</span> ifeq ($(UNAME), Linux)
 PREFIX = /usr
 endif
</pre><pre style='margin:0'>

</pre>