From owner-freebsd-ports@FreeBSD.ORG Thu Oct 14 09:55:22 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BC5916A4CE for ; Thu, 14 Oct 2004 09:55:22 +0000 (GMT) Received: from tirith.elendil.ru (tirith.elendil.ru [195.68.151.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 553DA43D41 for ; Thu, 14 Oct 2004 09:55:21 +0000 (GMT) (envelope-from sergei@FreeBSD.org) Received: (qmail 62225 invoked from network); 14 Oct 2004 09:55:05 -0000 Received: from narsil.elendil.ru ([10.19.72.1]) by tirith.elendil.ru ([10.19.72.4]) with SMTP via TCP; 14 Oct 2004 09:55:05 -0000 Received: (qmail 61276 invoked by uid 1001); 14 Oct 2004 09:53:55 -0000 Date: Thu, 14 Oct 2004 13:53:55 +0400 From: Sergei Kolobov To: freebsd-ports@FreeBSD.org Message-ID: <20041014095355.GA61134@elendil.ru> Mail-Followup-To: freebsd-ports@FreeBSD.org 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <416DB213.3020708@struchtrup.com> User-Agent: Mutt/1.5.6i Subject: Re: alternative options for ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 09:55:22 -0000 --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--