[66240] trunk/dports/devel/bzrtools/Portfile

Adam Mercer ram at macports.org
Wed Apr 7 16:00:07 PDT 2010


On Wed, Apr 7, 2010 at 17:44,  <raimue at macports.org> wrote:
> Revision 66240 Author raimue at macports.org Date 2010-04-07 15:44:17 -0700
> (Wed, 07 Apr 2010)
>
> Log Message
>
> devel/bzrtools:
> Fix dependency types, add +no_graphviz variant, closes #22238
>
> Modified Paths
>
> trunk/dports/devel/bzrtools/Portfile
>
> Diff
>
> Modified: trunk/dports/devel/bzrtools/Portfile (66239 => 66240)
>
> --- trunk/dports/devel/bzrtools/Portfile	2010-04-07 20:54:42 UTC (rev 66239)
> +++ trunk/dports/devel/bzrtools/Portfile	2010-04-07 22:44:17 UTC (rev 66240)
> @@ -6,6 +6,7 @@
>  name          bzrtools
>  version       2.1.0
>  set branch    [join [lrange [split ${version} .] 0 1] .]
> +revision      1
>  categories    devel python
>  platforms     darwin
>  maintainers   raimue
> @@ -26,9 +27,13 @@
>                sha1    36c4ca7b4461b4e8bd6ca217f527154d183c6342 \
>                rmd160  bde304caa76c224aaaf8e8ef51889eb43c486c67
>
> -depends_lib-append  port:bzr \
> -                    path:bin/dot:graphviz
> +depends_lib-append port:bzr
> +depends_run-append path:bin/dot:graphviz
>
> +variant no_graphviz description {Disable GraphViz, removing Graph Ancestry
> support} {
> +    depends_run-delete path:bin/dot:graphviz
> +}
> +
>  universal_variant no
>
>  livecheck.type  regex

But (as you raise in the ticket) if graphviz, or grpahviz-devel, is
installed Graph Ancestry support will be enabled even with the
+no_graphviz variant.

Cheers

Adam


More information about the macports-dev mailing list