Date: Fri, 10 May 2002 22:23:43 +0300 From: Maxim Sobolev <sobomax@FreeBSD.org> To: "Gregory (Grisha) Trubetskoy" <grisha@ispol.com> Cc: ports@FreeBSD.ORG Subject: Re: How to make packages and dependency packages Message-ID: <3CDC1E3F.F581848@FreeBSD.org> References: <Pine.BSF.4.32.0205101458170.75225-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
"Gregory (Grisha) Trubetskoy" wrote: > > 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? # cd /usr/ports/somecat/someport ; for dir in `make package-depends | awk '{print $2}'`; do cd $dir; make package; done -Maxim 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?3CDC1E3F.F581848>