From owner-freebsd-current Tue May 9 14: 0:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id 09B1537B5B5; Tue, 9 May 2000 14:00:37 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id RAA29023; Tue, 9 May 2000 17:01:02 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Tue, 9 May 2000 17:01:02 -0400 (EDT) From: Adam To: "David O'Brien" Cc: current@FreeBSD.ORG Subject: Re: a better idea for package dependencies In-Reply-To: <20000509123637.A66034@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Tue, May 09, 2000 at 03:24:25PM -0400, Adam wrote: >> I cant comment on the complexity of registering a port as an installed >> package because I havent read the code, but it doesnt look too complex >> according to whats in /var/db/pkg... perhaps more makefile things could >> be done to register a package. I am seeing +COMMENT +CONTENTS >> +DESC in a simple port dir, and if it depends on other things, >> +REQUIRED_BY... thinking optimistically that this stuff could be >> acheived with simple commands like echo myport >> >> /var/db/foo/+REQUIRED_BY, and maybe grep to help with removing things >> from REQ... > >PLEASE get a CLUE about pkg_* and ports BEFORE commenting further. >-- David (obrien@NUXI.com) Good suggestion. Did some reading in bsd.port.mk and came up with the basis for a hack to get a port installed without pkg_*. If only total elegant solutions are entertained here then I will say no further, but here goes: cd /usr/ports/foo/pkg_create make NO_PKG_REGISTER install (pkg_create gets installed but not recorded) Since you claim superior knowledge about ports than me, I wont bother explaining it. I'm only trying to satisfy your original question. " IF the pkg_* utils were ports, how would you install them??" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message