[macports-ports] branch master updated: aqua/x2goclient: update to 4.1.0.0.

Ryan Schmidt ryandesign at macports.org
Thu Feb 23 10:24:13 UTC 2017


> On Feb 23, 2017, at 02:56, Mihai Moldovan <ionic at macports.org> wrote:
> 
> Mihai Moldovan (Ionic) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/5ef7d72e34586081b904c15830ec70741f758566
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new 5ef7d72  aqua/x2goclient: update to 4.1.0.0.
> 
> 5ef7d72 is described below
> 
> 
> commit 5ef7d72e34586081b904c15830ec70741f758566
> 
> Author: Mihai Moldovan <ionic at ionic.de>
> AuthorDate: Thu Feb 23 09:54:32 2017 +0100
> 
>     aqua/x2goclient: update to 4.1.0.0.
>     
>     Fix startup failure and non-default prefixes via patches/reinplaces.


> +post-patch {
> +    foreach filename [list "src/onmainwindow.cpp" "src/pulsemanager.cpp"] {
> +        reinplace -W "${worksrcpath}" "s#@@PREFIX@@#${prefix}#g" $filename
> +    }
> +}

You don't need a foreach loop here. reinplace accepts multiple filenames.


post-patch {
    reinplace -W ${worksrcpath}/src "s#@@PREFIX@@#${prefix}#g" onmainwindow.cpp pulsemanager.cpp
}




More information about the macports-dev mailing list