Subject: Re: How to force dependency check not happening???
To: John Refling <johnr@imageworks.com>
From: Julian Coleman <jdc@coris.demon.co.uk>
List: tech-pkg
Date: 01/04/2001 19:37:36
> So, can one do a 'make install' and force the dependency checks to not
> happen?  I tried NO_CHECK_DEPENDS, NO_DEPENDS.

When you do a : 

	mv /var/db/pkg /var/db/pkg.back

also do a :

	mkdir /var/db/pkg && cp -pr /var/db/pkg.back/* /var/db/pkg

before you install?  Then do a :

	rm -r /var/db/pkg && mv /var/db/pkg.back /var/db/pkg afterward?

Then again, an install of the package followed by a `pkg_delete` should
return the files in /var/db/pkg to their original state, so you could just
leave them in place.

Alternatively, you could leave /usr/pkg in place and do (say) an ls -R
before and after and diff the two.  Or pipe (or tee) the installation into
a file and grep for install/cp/mv in that file?

J

-- 
                    My other computer also runs NetBSD
                          http://www.netbsd.org/