Date: Wed, 14 Mar 2012 17:11:55 +0100 From: IMAP List Administration <lists@y42.org> To: freebsd-questions@freebsd.org Subject: satisfying package dependencies from installation DVD when building a port -- HOW? Message-ID: <4F60C34B.50105@y42.org>
next in thread | raw e-mail | index | archive | help
Hello, I've just installed 9.0-RELEASE (amd64) in a KVM/Qemo VM on debian linux, which is extremely painful because of the abysmal I/O performance, and would like to build the virtio-kmod. After unpacking src.txz (xz -c /cd/usr/freebsd-dist/src.txz | tar xf -) I did the following: # cd /usr/ports/emulators/virtio-kmo # make clean install at this point I saw port names such as perl, tcl, neon, sqlite, etc fly past. Apparently the ports system satisfies dependencies from the ports tree by default. Since I have not updated anything, it seems reasonable, and much less painful to satisfy the dependencies using the packages on the installation DVD, which is mounted on /cd. I tried setting PKG_PATH to "/cd/packages" and to "/cd/packages/All", but when I simply try to test using, for example, "pkg_add perl" pkg_add simply says "can't stat package file". I'm guessing it would be pointless to try to use a (remote) URL in PACKAGEROOT, as the "-r" flag *must* be give in order for pkg_add to honor the setting, and god knows how the ports system calls pkg_add, if at all. I had a long look in the docs, but this stuff doesn't *seem* to be documented :( Is it possible to get the ports system to satisfy dependencies using the packages from the installation DVD? If so, how????? cheers, Robert Urban
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F60C34B.50105>