Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2004 13:20:54 +0200
From:      Jose M Rodriguez <josemi@freebsd.jazztel.es>
To:        freebsd-ports@freebsd.org
Cc:        Sergei Kolobov <sergei@freebsd.org>
Subject:   Re: alternative options for ports
Message-ID:  <200410141321.00808.josemi@freebsd.jazztel.es>
In-Reply-To: <20041014095355.GA61134@elendil.ru>
References:  <416C0DE8.3000004@struchtrup.com> <416DB213.3020708@struchtrup.com> <20041014095355.GA61134@elendil.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
El Jueves, 14 de Octubre de 2004 11:53, Sergei Kolobov escribi=F3:
> On 2004-10-14 at 00:54 +0200, Sebastian Schulze Struchtrup wrote:
> > I thought of a way to specify configurations to build several
> > packages of the same port (of course with a diff. suffix) [called
> > port variations by David]
> > E.g. build the vim port three times,
> > First, with default options and WITH_GTK2 resulting in a package
> > vim-gtk2 Then with default options and WITH_KDE resulting in
> > vim-kde And then with default options and WITH_ATHENA resulting in
> > vim-athena. I don't know if there is a clean solution, but I
> > remember that this is (at least in some cases) handled with diff
> > ports and setting MASTERDIR and including the master's makefile.
> > But this would lead to many add. ports just for package building...
>
> AFAIK, OpenBSD has a feature called "port flavours" (if I'm not
> mistaken). I confess I haven't look into it in detail (yet) but it
> looks like it does exactly what you describe. That is, the port
> Makefile specifies something like:
>
> FLAVOURS=3D gtk kde athena
>
> which produces the corresponding vim-gtk, vim-kde, and vim-athena
> packages from a *signle* port, without a need to create a multitude
> of slave ports.
>
> Is there anybody working to bring this feature in our bsd.port.mk?
>
> Sergei

It not so esay.  OpenBSD port system is binary oriented (And I think=20
NetBSD pkgsrc also).  Even installing from ports, they make first de=20
package and then install.

=2D-
  josemi



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