[118284] trunk/dports/devel/wemux/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Mar 28 14:46:42 PDT 2014


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} …”.



More information about the macports-dev mailing list