From owner-freebsd-ports Wed Feb 19 15:31:51 2003 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 1035A37B401 for ; Wed, 19 Feb 2003 15:31:50 -0800 (PST) Received: from mail.inka.de (quechua.inka.de [193.197.184.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BFCD43F75 for ; Wed, 19 Feb 2003 15:31:48 -0800 (PST) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with gbsmtp id 18ldgo-0008Lb-00; Thu, 20 Feb 2003 00:31:46 +0100 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.6/8.12.6) with ESMTP id h1JMUit0074429 for ; Wed, 19 Feb 2003 23:30:44 +0100 (CET) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.6/8.12.6/Submit) id h1JMUigi074428 for freebsd-ports@freebsd.org; Wed, 19 Feb 2003 23:30:44 +0100 (CET) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: passing arguments to *_DEPENDS Date: Wed, 19 Feb 2003 22:30:43 +0000 (UTC) Message-ID: References: <20030219003422.GD31515@rot13.obsecurity.org> <20030219144225.GE808@pcwin002.win.tue.nl> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Stijn Hoop wrote: > > OpenBSD's FLAVOR system, in short. > > That would rule. I've been meaning to look at porting OpenBSDs bsd.port.mk > for quite some time but I haven't gotten around to it yet. Besides I > suspect it will be very difficult. Anyone else been having a look at it? Porting OpenBSD's bsd.port.mk and pkg tools to FreeBSD should be almost trivial. You'd probably have to add some things to make(1), too. _Integrating_ them with the existing FreeBSD ports infrastructure will be really hard, tough. > OpenBSD also has the IMHO pretty cool concept of separating package > building from installing; that is, a port is just used to make a package > instead of making the package from installed bits. The FAKE feature. The bsd.port.mk part of this should be fairly simple. The hard part here is that the individual ports need to support installation to a DESTDIR prefix. Some will support this out of the box, some will need a bot of work, some will need extensive work. OpenBSD introduced FAKE, started out with a default of FAKE=No, gradually converted ports, eventually switched the default to FAKE=Yes, and for some time all ports have used fake installs. If portmgr made some encouraging noises about this (yes, we would like to have this, send patches)... -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message