From owner-freebsd-ports Sun Jan 10 19:59:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26192 for freebsd-ports-outgoing; Sun, 10 Jan 1999 19:59:33 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26186 for ; Sun, 10 Jan 1999 19:59:31 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id VAA01313; Sun, 10 Jan 1999 21:58:56 -0600 (CST) Date: Sun, 10 Jan 1999 21:58:56 -0600 (CST) From: Steve Price To: Mike Meyer cc: freebsd-ports@FreeBSD.ORG Subject: Re: ports/9422 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 10 Jan 1999, Mike Meyer wrote: # >From what it says, if PKG_PATH isn't set, everything should work right # *anyway*. make package should build in the current directory, and # pkg_add should find the package in the current directory. Well, kind of... pkg_add will find it in the current directory if you use PKG_PATH and the package name, or explicitly name the file. Here are some sample commandlines and whether they succeed or fail. # This will always fail unless you already have PKG_PATH set # correctly in your environment. pkg_add `make package-name` # Will succeed if the package was created in the current # directory. PKG_PATH=`pwd` pkg_add `make package-name` # Will also succeed if the package was created in the current # directory. pkg_add `make package-name`.tgz # This will succeed if you have created a /usr/ports/packages # directory. pkg_add /usr/ports/packages/All/`make package-name`.tgz And so on. Confusing, huh? :) -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message