From owner-freebsd-ports Fri May 10 12:21:22 2002 Delivered-To: freebsd-ports@freebsd.org Received: from sdns.kv.ukrtel.net (sdns.kv.ukrtel.net [195.5.27.246]) by hub.freebsd.org (Postfix) with ESMTP id 6768D37B408 for ; Fri, 10 May 2002 12:21:16 -0700 (PDT) Received: from vega.vega.com (195.5.51.243 [195.5.51.243]) by sdns.kv.ukrtel.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id J9KHZKR6; Fri, 10 May 2002 22:23:01 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g4AJLS158520; Fri, 10 May 2002 22:21:28 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3CDC1E3F.F581848@FreeBSD.org> Date: Fri, 10 May 2002 22:23:43 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: "Gregory (Grisha) Trubetskoy" Cc: ports@FreeBSD.ORG Subject: Re: How to make packages and dependency packages References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 "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