Date: Sat, 14 Apr 2012 00:01:04 +0400 From: Konstantin Tokarev <annulen@yandex.ru> To: Chris Inacio <nacho319@gmail.com> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: port variants Message-ID: <866281334347264@web24.yandex.ru> In-Reply-To: <0E61DE82-499B-47EF-9EEA-F9F3EB166A0A@gmail.com> References: <CAG_PEexDO2Shk_46RYpKyjpYakAGYp1mwPU7C=QUM7HbAdnNug@mail.gmail.com> <CAOjFWZ4womjueyvF4o6Yc_bQb2_DwoV5hMPJNx8EpqUaUCOFbw@mail.gmail.com> <0E61DE82-499B-47EF-9EEA-F9F3EB166A0A@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
13.04.2012, 23:55, "Chris Inacio" <nacho319@gmail.com>: > On Apr 13, 2012, at 3:39 PM, Freddie Cash <fjwcash@gmail.com> wrote: > >> š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. > > Sorry, you're right. > > For example, a port of say Emacs could have a variant of X11. > > So Emacs or Emacs+X11. > > The X11 variant would (somewhat obviously) include building regular Emacs but also the X11 toolbar etc. while Emacs wouldn't include any X11 features (& dependencies). > > On the Mac, we can build universal binaries (PowerPC, ia32, and x86_64), at the cost of disk space. So we can build almost any package with the +universal variant. > > Is that a reasonable explanation? Seems like you need makefile options: http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html -- Regards, Konstantin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?866281334347264>