Subject: Re: pkg_install will not make
To: None <netbsd-users@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: netbsd-users
Date: 01/13/2003 09:27:28
Matt Wong <mew20@columbia.edu> wrote:
> ok, I seem to have gotten it working by doing this:
>
> 1. fix the /usr/pkgsrc/pkgtools/pkg_install/Makefile by changing the line
> PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||
> to
> PREFIX:= ${PKG_TOOLS_BIN}:C|/[^/]?bin$||
This is wrong. It needs to be
PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
You can update your files by simply doing
cd /usr/pkgsrc/pkgtools/pkg_install
cvs update -dP
> 2. make from /usr/pkgsrc/pkgtools/pkg_install
>
> 3. cd to /usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20030111 and do
> a "make install" there
>
> 4. find the resulting binaries in /usr/pkg/sbin and move them to /usr/sbin
Just to 'make clean install' in /usr/pkgsrc/pkgtools/pkg_install _after_
updating your files.
-Jan
--
This one's tricky. You have to use imaginary numbers, like eleventeen...