From owner-freebsd-ports@FreeBSD.ORG Thu Oct 14 02:46:52 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 E5D8816A4CE; Thu, 14 Oct 2004 02:46:52 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F8C43D48; Thu, 14 Oct 2004 02:46:52 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id i9E2knHD000416; Wed, 13 Oct 2004 19:46:49 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id i9E2kk2S000415; Wed, 13 Oct 2004 19:46:46 -0700 (PDT) (envelope-from obrien) Date: Wed, 13 Oct 2004 19:46:46 -0700 From: "David O'Brien" To: Sebastian Schulze Struchtrup Message-ID: <20041014024646.GB90017@dragon.nuxi.com> References: <416C0DE8.3000004@struchtrup.com> <416C35A5.4040703@vonostingroup.com> <20041013123840.GB1301@FreeBSD.org> <20041013193432.GA53895@hub.freebsd.org> <416DAB52.5070404@struchtrup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416DAB52.5070404@struchtrup.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Frank Laszlo cc: Eivind Eklund cc: freebsd-ports@FreeBSD.org Subject: Re: alternative options for ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 02:46:53 -0000 On Thu, Oct 14, 2004 at 12:25:22AM +0200, Sebastian Schulze Struchtrup wrote: > David O'Brien wrote: > > >OPTIONS isn't the answer -- they don't do anything for 'pkg_add -r' > >users. > > > That's a problem. I agree. > But what about ports having 10 different options? > Probably it would make sense to build the most common configurations in > such a case. > On the other hand, the user must know which package to add for a given > port with a given config. > I am not familiar with packages and package building in detail. You only have to be as famiar with pre-built package flavors as you are with build OPTIONS. How do you know which compile options you want? For which package flavor to install, you can use 'sysinstall' which will show you both the 1-line desciption along with the longer one to help you in your choices. > >Since we go to a *lot* of work building packages and making them > >available there must be a huge number of consumers of them. We should be > >making more port variations. vim-gtk, vim-kde, vim-athena, vim-motif for > >instance. That way a pkg_add user and get what they want. > > > I assume that this is currently done by hand? To say build the vim port > with options --with-gtk, --with-kde and --with_arena? > Or is there a way to set this in a Makefile? Not only altering the > package name from vim to vim-xxx, but to define configurations for > automatic package building? Currently one defines WITH_* knobs and then compiles. One of the WITH_ knobs is the default GUI build. For non-X11 GUI there is the 'vim-lite' port. -- -- David (obrien@FreeBSD.org)