alternative options for ports

Sebastian Schulze Struchtrup seb at struchtrup.com
Wed Oct 13 15:24:35 PDT 2004


David O'Brien wrote:

>OPTIONS isn't the answer -- they don't do anything for 'pkg_add -r'
>users. 
>
That's a problem. I agree.
But what about ports having 10 different options?
Probably it would make sense to build the most common configurations in 
such a case.
On the other hand, the user must know which package to add for a given 
port with a given config.
I am not familiar with packages and package building in detail.

>Since we go to a *lot* of work building packages and making them
>available there must be a huge number of consumers of them.  We should be
>making more port variations.  vim-gtk, vim-kde, vim-athena, vim-motif for
>instance.  That way a pkg_add user and get what they want.
>  
>
I assume that this is currently done by hand? To say build the vim port 
with options --with-gtk, --with-kde and --with_arena?
Or is there a way to set this in a Makefile? Not only altering the 
package name from vim to vim-xxx, but to define configurations for 
automatic package building?




More information about the freebsd-ports mailing list