From owner-freebsd-questions@FreeBSD.ORG Wed Mar 14 16:20:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7644106564A for ; Wed, 14 Mar 2012 16:20:58 +0000 (UTC) (envelope-from lists@y42.org) Received: from mail.y42.org (smtp.y42.org [194.97.145.161]) by mx1.freebsd.org (Postfix) with ESMTP id 6871F8FC0C for ; Wed, 14 Mar 2012 16:20:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.y42.org (Postfix) with ESMTP id 5FA84EBF6B for ; Wed, 14 Mar 2012 17:11:57 +0100 (CET) X-Virus-Scanned: amavisd-new at y42.org Received: from mail.y42.org ([127.0.0.1]) by localhost (dna.y42.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FfCK3EpLxSOp for ; Wed, 14 Mar 2012 17:11:55 +0100 (MET) Received: from [192.168.2.2] (p5DE97E79.dip.t-dialin.net [93.233.126.121]) (Authenticated sender: lists@dna.y42.org) by mail.y42.org (Postfix) with ESMTPA for ; Wed, 14 Mar 2012 17:11:55 +0100 (CET) Message-ID: <4F60C34B.50105@y42.org> Date: Wed, 14 Mar 2012 17:11:55 +0100 From: IMAP List Administration User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: satisfying package dependencies from installation DVD when building a port -- HOW? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 16:20:58 -0000 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