[118284] trunk/dports/devel/wemux/Portfile
Aljaž 'g5pw' Srebrnič
g5pw at macports.org
Fri Mar 28 14:49:49 PDT 2014
Thanks! Why is that, though? Isn’t the patch phase evaluated with worksrcdir as current directory?
On 28 marzo 2014 at 22:46:53, Ryan Schmidt (ryandesign at macports.org) wrote:
On Mar 28, 2014, at 16:31, g5pw at macports.org wrote:
> Revision
> 118284
> Author
> g5pw at macports.org
> Date
> 2014-03-28 14:31:27 -0700 (Fri, 28 Mar 2014)
> Log Message
>
> devel/wemux:
> fix conf file location (closes #43096)
> change prefix in documentation, too.
>
> Modified Paths
>
> • trunk/dports/devel/wemux/Portfile
> @@ -23,7 +23,7 @@
> use_configure no
>
> patch {
> - reinplace "s|/etc/wemux|${prefix}&|g" ${worksrcpath}/wemux
> + reinplace "s|/usr/local|${prefix}|g" wemux README.md man/wemux.1
> }
>
> build {}
You should not assume that the current directory is ${worksrcpath}; you should specify it, e.g. by using “reinplace -W ${worksrcpath} …”.
--
Aljaž Srebrnič a.k.a g5pw
My public key: http://bit.ly/g5pw_pubkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140328/e8da3866/attachment.html>
More information about the macports-dev
mailing list