[103395] users/cal/base-sqlite-portindex/src/port1.0/portmain.tcl

Lawrence Velázquez larryv at macports.org
Sun Feb 24 14:37:26 PST 2013


On Feb 24, 2013, at 7:30 AM, cal at macports.org wrote:

> Revision: 103395
>          https://trac.macports.org/changeset/103395
> Author:   cal at macports.org
> Date:     2013-02-24 04:30:49 -0800 (Sun, 24 Feb 2013)
> Log Message:
> -----------
> port1.0: categories is order-sensitive (because the primary category is always first)

Just a thought, but I feel like you're starting to make options overly complex.

The way things are now, all options are ordered and allow duplicates. This behavior is admittedly not semantically natural for all options (dependencies, most notably), but it's clear how they work, and it generally doesn't cause problems, as far as I can tell.

In your branch, some options are ordered, others aren't. Some options retain duplicates, others eliminate them. A portfile author can never really be sure what the situation is, unless they're willing to peek into base or check the Guide whenever they use an option.

vq


More information about the macports-dev mailing list