On Jan 26, 2013, at 06:33, [email protected] wrote:

> Revision: 102045
>          https://trac.macports.org/changeset/102045
> Author:   [email protected]
> Date:     2013-01-26 04:33:49 -0800 (Sat, 26 Jan 2013)
> Log Message:
> -----------
> jubatus-msgpack-rpc: set worksrcdir in the global part and add workaround to 
> use github.setup; 
> https://lists.macosforge.org/pipermail/macports-dev/2013-January/021728.html.
> 
> Modified Paths:
> --------------
>    trunk/dports/devel/jubatus-msgpack-rpc/Portfile
> 
> Modified: trunk/dports/devel/jubatus-msgpack-rpc/Portfile
> ===================================================================
> --- trunk/dports/devel/jubatus-msgpack-rpc/Portfile   2013-01-26 12:07:37 UTC 
> (rev 102044)
> +++ trunk/dports/devel/jubatus-msgpack-rpc/Portfile   2013-01-26 12:33:49 UTC 
> (rev 102045)
> @@ -26,8 +26,14 @@
> depends_lib         port:msgpack \
>                     port:jubatus-mpio
> 
> +worksrcdir          ${distname}/cpp
> +
> +# workaround to specify a valid directory at which the distribution will be 
> placed.
> +# a regular worksrcpath (worksrcdir) is used in post-extract defined in 
> github.setup.
> +pre-extract  { worksrcdir ${distname} }
> +post-extract { worksrcdir ${distname}/cpp }
> +
> pre-configure {
> -    worksrcdir      ${distname}/cpp
>     system -W ${worksrcpath} "./bootstrap"
> }

Oh I see, that's why you had done that. In that case it's simpler to use 
configure.dir and build.dir:

https://trac.macports.org/changeset/102056




_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to