Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 11:27:29 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Howto Make package with dependents
Message-ID:  <20020227162729.GA41590@wwweasel.geeksrus.net>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOCEBBCJAA.barbish@a1poweruser.com>
References:  <LPBBIGIAAKKEOEJOLEGOCEBBCJAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227162729.GA41590>