From owner-freebsd-ports Wed Feb 27 8:30:45 2002 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id DCEDF37B400 for ; Wed, 27 Feb 2002 08:30:34 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g1RGRTp41639; Wed, 27 Feb 2002 11:27:29 -0500 (EST) (envelope-from alane) Date: Wed, 27 Feb 2002 11:27:29 -0500 From: Alan Eldridge To: Joe & Fhe Barbish Cc: ports@FreeBSD.ORG Subject: Re: Howto Make package with dependents Message-ID: <20020227162729.GA41590@wwweasel.geeksrus.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.26i X-message-flag: Magic 8-Ball says "Outlook not so good." I'll ask it about Exchange next. 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 On Wed, Feb 27, 2002 at 11:15:39AM -0500, Joe & Fhe Barbish wrote: > >I did a make package on cvsup and it worked, >but when I pkg_add it on a clean system it was missing >it's dependents. I want the primary package to contain >everything it needs to run after the pkg_add is complete. >Just like the cvsup package on the FBSD install cdrom. The package does *not* contain its depended-upon packages. It *does* contain a list of dependencies. When you pkg_add something, it will try to find the depended-upon packages and install them. The reason it all seems to work transparently from the CDROM is that some software has gone and made lists of packages for each CDROM that are "self-contained" ... that is each group of packages on a CD contains the packages that each package in the group needs. (If you've studied mathematics, think "equivalence class".) >How do I get the primary port to include it's dependents >at make package time? You don't. >There must be some sub-option I don't know about. ports@FreeBSD.org Not as applicable in this case. But: man pkg_add man portupgrade (recommended over pkg_add by itself) Note you will need to install portupgrade if you haven't already. >Where can I find documentation on all the options of the make command? >They sure are not in man make. Yes, they are. You are probably confusing Make variables which control how certain ports are built, called "knobs" in ports-speak, with options make knows about. Find an online make tutorial (I don't know of one, but I've never looked, either) or buy the ORA book on Make. -- Alan Eldridge "Dave's not here, man." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message