Date: Sun, 10 Jan 1999 19:45:17 -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.9901101943450.18505-100000@fly.HiWAAY.net> In-Reply-To: <Pine.BSF.4.05.9901101651331.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: # Nope - I'm not setting it at all. Like I said, I don't deal with # packages very often. # # Having played with it, it looks like the command in the docs should # be: # # PKG_PATH=`pwd` pkg_add `make package-name` # # for sh users, anyway. Either that, or a step needs to be added to copy # the package file created by "make package" to the right place. Or # maybe just clarifying this, so that when you get people who don't deal # with packages submitting ports, it avoids the problem. How about the attached patch for the handbook? -steve Index: porting.sgml =================================================================== RCS file: /u/FreeBSD/cvs/doc/handbook/porting.sgml,v retrieving revision 1.120 diff -u -r1.120 porting.sgml --- porting.sgml 1999/01/01 12:15:49 1.120 +++ porting.sgml 1999/01/11 01:43:13 @@ -182,7 +182,7 @@ <item><tt>make install</tt> <item><tt>make package</tt> <item><tt>make deinstall</tt> - <item><tt>pkg_add `make package-name`</tt> + <item><tt>PKG_PATH=`pwd` pkg_add `make package-name`</tt> <item><tt>make deinstall</tt> <item><tt>make reinstall</tt> <item><tt>make package</tt> @@ -191,7 +191,10 @@ <tt/package/ and <tt/deinstall/ stages. After step 3, check to see if all the new directories are correctly deleted. Also, try using the software after step 4, to ensure that it - works correctly when installed from a package. + works correctly when installed from a package. Note if step + 4 fails complaining that it can't find the package then try + setting <tt>PKG_PATH</tt> to <tt>/usr/ports/package/All</tt>. + See the manpage for <tt>pkg_add(1)</tt> for more details. <sect2> <heading>Checking your port with portlint<label id="porting:portlint"></heading> 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.9901101943450.18505-100000>