Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 15:09:14 -0400 (EDT)
From:      "Gregory (Grisha) Trubetskoy" <grisha@ispol.com>
To:        <ports@FreeBSD.ORG>
Subject:   How to make packages and dependency packages
Message-ID:  <Pine.BSF.4.32.0205101458170.75225-100000@localhost>

next in thread | raw e-mail | index | archive | help

Is there a way to tell "make package" also make packages for depndencies?

By default, if /usr/ports/pckages directory exists, then "make package"
will place the packages there. I am trying to make use of this by NFS
mounting this directory from multiple servers, so that I can build a port
on only one machine, then do pkg_add on all the others.

The problem is that "make package" will not make packages for
dependencies.

As an example, I'm looking for the following functionality:

# mkdir /usr/ports/packages      # now packages will be put here

# cd /usr/ports/misc/amanda-client
# make package

   ....this will also build gtar-1.13.25_1, gettext-0.11.1_2
   and libiconv-1.7_4...

# cd /usr/ports/packages/ALL
# ls -l
total 336
-rw-r--r--  1 root  wheel  319301 May 10 13:12 amanda-client-2.4.3b2.tgz
#
   So why aren't gtar, gettext and liibiconv packages in there too, and is
there a simple way to make them go there, or I would need write my own
script for this?

Thanks,

Grisha


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?Pine.BSF.4.32.0205101458170.75225-100000>