<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks! Why is that, though? Isn’t the patch phase evaluated with worksrcdir as current directory?</div> <br><p style="color:#000;">On 28 marzo 2014 at 22:46:53, Ryan Schmidt (<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>
<br>On Mar 28, 2014, at 16:31, g5pw@macports.org wrote:
<br>
<br>&gt; Revision
<br>&gt; 118284
<br>&gt; Author
<br>&gt; g5pw@macports.org
<br>&gt; Date
<br>&gt; 2014-03-28 14:31:27 -0700 (Fri, 28 Mar 2014)
<br>&gt; Log Message
<br>&gt;  
<br>&gt; devel/wemux:
<br>&gt;   fix conf file location (closes #43096)
<br>&gt;   change prefix in documentation, too.
<br>&gt;  
<br>&gt; Modified Paths
<br>&gt;  
<br>&gt;         • trunk/dports/devel/wemux/Portfile
<br>
<br>
<br>&gt; @@ -23,7 +23,7 @@
<br>&gt;  use_configure       no
<br>&gt;   
<br>&gt;  patch {
<br>&gt; -    reinplace "s|/etc/wemux|${prefix}&amp;|g" ${worksrcpath}/wemux
<br>&gt; +    reinplace "s|/usr/local|${prefix}|g" wemux README.md man/wemux.1
<br>&gt;  }
<br>&gt;   
<br>&gt;  build {}
<br>
<br>You should not assume that the current directory is ${worksrcpath}; you should specify it, e.g. by using “reinplace -W ${worksrcpath} …”.
<br>
<br></div></div></span></blockquote> <div id="bloop_sign_1396043327217555968" class="bloop_sign"><span style="font-family:helvetica,arial;font-size:13px"></span>--&nbsp;<br><div style="word-wrap: break-word;"><span style="background-color: rgba(255, 255, 255, 0);">Aljaž Srebrnič a.k.a g5pw</span></div><span style="background-color: rgba(255, 255, 255, 0);">My public key:&nbsp;&nbsp;<a href="http://bit.ly/g5pw_pubkey">http://bit.ly/g5pw_pubkey</a></span></div></body></html>