Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2004 19:23:32 -0400
From:      Parv <parv@pair.com>
To:        Frank Laszlo <laszlof@vonostingroup.com>
Cc:        FreeBSD Ports <ports@FreeBSD.ORG>
Subject:   Re: alternative options for ports
Message-ID:  <20041015232332.GC11786@moo.holy.cow>
In-Reply-To: <416E891E.8070003@vonostingroup.com>
References:  <416C0DE8.3000004@struchtrup.com> <416C35A5.4040703@vonostingroup.com> <20041013123840.GB1301@FreeBSD.org> <20041013193432.GA53895@hub.freebsd.org> <416DAB52.5070404@struchtrup.com> <416DAD75.7000504@vonostingroup.com> <416DB213.3020708@struchtrup.com> <20041014095355.GA61134@elendil.ru> <20041014135041.GB4625@iib.unsam.edu.ar> <416E891E.8070003@vonostingroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <416E891E.8070003@vonostingroup.com>,
wrote Frank Laszlo thusly...
>
> I know a lot of users feel intimidated by the Makefile's in ports,
> and would not dare open one up in an editor. Even if they did,
> they wouldnt understand it fully.

I personally mostly disagree.


> so what if the ports had a target that listed possible options
> within the Makefile, and what exactly they did.

...and actually used that file, see proposal below, to set the
appropriate knobs.  Comments would be used as they are currently in
Makefile, perl programs, and shell scripts.


> Maybe this would require another file in the ports, like
> 'pkg-options' It would be formated something like this
> 
> WITH_SOMEFEATURE            Add so and so feature to the package.
> WITH_SOMETHINGELSE         This will create something here.


> That way a user could just type something like 'make listoptions'
> and it will give a nice list of build options for a specific port.

...or provide the opportunity to edit the options file -- instead of
the Makefile in which knobs can be almost anywhere -- to indicate
the desired options.


> Anyone have any feedback on this?

I like it.


  - Parv

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041015232332.GC11786>