Date: Thu, 14 Oct 2004 13:53:55 +0400 From: Sergei Kolobov <sergei@FreeBSD.org> To: freebsd-ports@FreeBSD.org Subject: Re: alternative options for ports Message-ID: <20041014095355.GA61134@elendil.ru> In-Reply-To: <416DB213.3020708@struchtrup.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>
next in thread | previous in thread | raw e-mail | index | archive | help
--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004-10-14 at 00:54 +0200, Sebastian Schulze Struchtrup wrote: > I thought of a way to specify configurations to build several packages=20 > of the same port (of course with a diff. suffix) [called port variations= =20 > 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=20 > (at least in some cases) handled with diff ports and setting MASTERDIR=20 > 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=20 it does exactly what you describe. That is, the port Makefile specifies=20 something like: FLAVOURS=3D gtk kde athena which produces the corresponding vim-gtk, vim-kde, and vim-athena packages =66rom 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 --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBbkyzFOxuaTulNAERAgOzAJ9nYDJH+Al4+fJQ99RR7Be3VsH14QCfS8a4 6EMRnJ8I/sjylC1n6sbCWUo= =BK97 -----END PGP SIGNATURE----- --DocE+STaALJfprDB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041014095355.GA61134>