On Wed, Dec 12, 2012 at 07:01:45PM +0100, Rainer Müller wrote:
> This is the code that was originally written by Clemens, so probably
> he can clarify this. I guess it is written this way to avoid adding a
> dependency twice.
Yes, exactly.
On Wed, Dec 12, 2012 at 02:07:39PM -0600, Ryan Schmidt wrote:
> If feeling pedantic, one could do e.g.:
>
> if {[variant_isset rrdtool] || [variant_isset rrdcached]} {
> depends_lib-append port:rrdtool
> }
That's however harder to auto-generate, and that part of the Portfile is
autogenerated from a script in files/.
Tbh, I was surprised base didn't filter duplicate dependencies.
--
Clemens Lang
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev