Subject: Getting "make package" to make package on dependent files too.
To: None <tech-pkg@netbsd.org>
From: Marc Tooley <netbsdMLpostNO@SPAM.quake.ca>
List: tech-pkg
Date: 06/23/2004 11:15:38
Thanks to the magical pkg_comp package, I regularly rebuild my pkgsrc 
tree fearlessly. Recently, though, I realised that make package on the 
meta-pkgs/kde3 package wasn't doing a "make package" on any of the kde 
dependent packages. Instead I ended up with:

:kimmie:11:05:48 /usr/pkgsrc/packages/All$ j kde
-rw-r--r--  1 root  wheel      1327 Jun 21 14:25 kde-3.2.3.tgz
-rw-r--r--  1 root  wheel  23372676 Jun 22 15:09 kdebase-3.2.3.tgz
-rw-r--r--  1 root  wheel  15373414 Jun 11 15:42 kdelibdocs-3.2.3.tgz
-rw-r--r--  1 root  wheel   8082674 Jun 21 02:41 kdenetwork-3.2.3.tgz
-rw-r--r--  1 root  wheel   5252354 Jun 11 16:47 kdesdk-3.2.3.tgz
-rw-r--r--  1 root  wheel   3528010 Jun 22 15:08 kdeutils-3.2.3.tgz
-rw-r--r--  1 root  wheel      2550 Jun 21 22:00 kdevelop-3.0.4.tgz
-rw-r--r--  1 root  wheel  10934453 Jun 11 18:16 kdevelop-base-3.0.4.tgz

... which is obviously far short of the many kde packages that are 
currently installed on the chrooted environment:

(:kimmie:18:06:37 /usr/pkgsrc/www/webalizer$) pkg_info | grep -i kde|awk 
'{ print $1 }' | tr '\n' ' '

kdelibs-3.2.3 kdebase-3.2.3 kdenetwork-3.2.3 kdeaccessibility-3.2.3 
kdeartwork-3.2.3 kdegames-3.2.3 kdepim-3.2.3 kdemultimedia-3.2.3 
kdeaddons-3.2.3 kdeadmin-3.2.3 kdeedu-3.2.3 kdegraphics-3.2.3 
kdetoys-3.2.3 kdeutils-3.2.3 kde-3.2.3 kdelibdocs-3.2.3 kdesdk-3.2.3 
kdevelop-base-3.0.4 c-cpp-reference-2.0.2nb3 kdbg-1.2.10 kdevelop-3.0.4 
koffice-1.3.1

(:kimmie:18:15:51 /usr/pkgsrc/www/webalizer$) 

Since I destroy and remake the chroot with pkg_comp each time I rebuild 
an updated pkgsrc, is there a way to make sure it builds the full list 
of packages in binary form for each dependent object too?

Thanks in advance for any help!

-Marc