From owner-freebsd-ports@FreeBSD.ORG Thu Oct 14 11:21:00 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 5AD0616A4CE; Thu, 14 Oct 2004 11:21:00 +0000 (GMT) Received: from smtp1.jazztel.es (smtp1.jazztel.es [62.14.3.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50A6743D41; Thu, 14 Oct 2004 11:20:59 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp1.jazztel.es with antivirus id 1CI3fW-00017S-00 Thu, 14 Oct 2004 13:21:14 +0200 Received: from [212.106.239.73] (helo=rguez.homeunix.net) by smtp1.jazztel.es with esmtp id 1CI3fW-00016l-00 Thu, 14 Oct 2004 13:21:14 +0200 Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id i9EBL0gV000659; Thu, 14 Oct 2004 13:21:00 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.1/8.13.1/Submit) id i9EBL1rd000855; Thu, 14 Oct 2004 13:21:01 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) X-Authentication-Warning: orion.redesjm.local: freebsd set sender to josemi@freebsd.jazztel.es using -f From: Jose M Rodriguez To: freebsd-ports@freebsd.org Date: Thu, 14 Oct 2004 13:20:54 +0200 User-Agent: KMail/1.7 References: <416C0DE8.3000004@struchtrup.com> <416DB213.3020708@struchtrup.com> <20041014095355.GA61134@elendil.ru> In-Reply-To: <20041014095355.GA61134@elendil.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200410141321.00808.josemi@freebsd.jazztel.es> X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.27.0.12; VDF 6.27.0.81 (host: antares.redesjm.local) X-Virus-Scanned: by antivirus cc: Sergei Kolobov 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 11:21:00 -0000 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