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 (ryandes...@macports.org) wrote:
On Mar 28, 2014, at 16:31, g...@macports.org wrote:
> Revision
> 118284
> Author
> g...@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
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev