[135907] trunk/dports/math/octave-database/Portfile

Michael Dickens michaelld at macports.org
Wed May 6 17:53:45 PDT 2015


On Wed, May 6, 2015, at 08:45 PM, Ryan Schmidt wrote:
> > +# legacy postgresql variants; can be removed 2016-05-01
> > +# use of < 8.3 removed as of 2.3.2.
> > +
> > +set legacy_postgresql_suffixes {80 81 82}
> > +
> > +foreach s ${legacy_postgresql_suffixes} {
> > +    set p postgresql${s}
> > +    eval [subst {
> > +        variant ${p} description "Legacy variant" \
> > +            requires postgresql${default_postgresql_suffix} {}
> > +    }]
> > +}
> 
> Why not just remove these variants? It would have the same effect. (If
> there were binaries, it would have the added benefit that users could use
> those binaries because they would then be using the default variants, but
> there don't seem to be binaries of this port.)

Hmm ... I had thought I needed dummy variants to force moving to a
provided variant. I've never tested just removing the variant, but, yes,
now that I think about it just removing the variants should work.
Thanks! - MLD


More information about the macports-dev mailing list