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

next in thread | previous in thread | raw e-mail | index | archive | help
Yup. The man page doesn't include much of that. I suspect this is only
a problem if you get someone recent who habitually builds from ports
instead of packages.

Maybe expand the note you suggested adding to the handbook to state
that you need packages to be working properly before that step will
work.

	Thanx,
	<mike

On Sun, 10 Jan 1999, Steve Price wrote:

> 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
> 
> 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.BSF.4.05.9901102003300.9536-100000>