alternatives: multiple versions for the same package

Riccardo Mottola rmottola at opencsw.org
Tue May 20 16:12:36 CEST 2014


Hi,

On Tue, 2014-05-20 at 11:16, Dagobert Michelsen wrote:


> We have alternatives for that. You can look at gnuplot which has one basic
> alternative and one with wxWidgets:
>   https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/pkg/gnuplot/trunk/Makefile
> 

that is, Modulations., the "m" part in GAR. I read your slides :)

Very fine! I'm biting my teeth.

I want to provide two options for the time being:
EXTRA_MODULATORS = GRAPHICS
MODULATIONS_graphics = xlib cairo

I now have a package, but it does not configure.

it does nothing:

bash-4.3$ mgar configure
gmake: 'work/cookies/global/configure' is up to date.

if I did things well, I should be able to do:
mgar configure MODULATION=GRAPHICS-xlib

and

mgar configure MODULATION=GRAPHICS-cairo

right?

May I commit my not-yet-working package makefile so yo ucan see it in
its entirety?

Riccardo



More information about the maintainers mailing list