Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 1999 21:58:56 -0600 (CST)
From:      Steve Price <sprice@hiwaay.net>
To:        Mike Meyer <mwm@phone.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/9422
Message-ID:  <Pine.OSF.4.02.9901102146010.18505-100000@fly.HiWAAY.net>
In-Reply-To: <Pine.BSF.4.05.9901101926330.9536-100000@guru.phone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9901102146010.18505-100000>