Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 23:53:36 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        freebsd-ports@freebsd.org, Chris Inacio <nacho319@gmail.com>
Subject:   Re: port variants
Message-ID:  <4F888440.2080408@yandex.ru>
In-Reply-To: <CAOjFWZ4womjueyvF4o6Yc_bQb2_DwoV5hMPJNx8EpqUaUCOFbw@mail.gmail.com>
References:  <CAG_PEexDO2Shk_46RYpKyjpYakAGYp1mwPU7C=QUM7HbAdnNug@mail.gmail.com> <CAOjFWZ4womjueyvF4o6Yc_bQb2_DwoV5hMPJNx8EpqUaUCOFbw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Freddie Cash wrote on 13.04.2012 23:39:
> On Fri, Apr 13, 2012 at 12:04 PM, Chris Inacio<nacho319@gmail.com>  wrote:
>> I was recently asked to do some FreeBSD ports support work.  I mostly use a
>> Mac and the MacPorts system.  MacPorts has the concept of a variant for a
>> port, but I can't find the analogue in the FreeBSD system.
>>
>> Does the FreeBSD ports system have the concept of a variant?  If so, can
>> someone point me in the right direction on how to create one?
>
> Describing what a "variant" is, how it works in MacPorts, and what you
> are trying to do would help a lot.  :)
>
> The closest guess I could make would be "slave port", but I don't
> think that works the same way.

http://guide.macports.org/chunked/reference.variants.html

Chris, the job needed should be described in more detail, but at glance 
options framework - it's what you looking for [1].

[1] 
http://www.freebsd.org/doc/en/books/porters-handbook/book.html#MAKEFILE-OPTIONS

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



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