[102045] trunk/dports/devel/jubatus-msgpack-rpc/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Jan 26 05:36:25 PST 2013
On Jan 26, 2013, at 06:33, hum at macports.org wrote:
> Revision: 102045
> https://trac.macports.org/changeset/102045
> Author: hum at macports.org
> 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
More information about the macports-dev
mailing list