Subject: Re: pkg/31064: make package should not depend on the install target
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 08/25/2005 02:20:02
The following reply was made to PR pkg/31064; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/31064: make package should not depend on the install target
Date: Wed, 24 Aug 2005 19:19:51 -0700 (PDT)
> which is not straightforward like
> make && make install && make pacakge as in FreeBSD or OpenBSD
FreeBSD does it the same way as NetBSD -- install before packaging (unless
something changed recently). OpenBSD does install to a staging directory first.
> the NetBSD way is
> $make install clean
> $make package clean
> which use too much time to recompile the code and it unbearable as to
> gcc and perl alike.
That is wrong. Do not use "clean" after install.
Just use "make package clean".
>> How-To-Repeat:
> bmake
> bmake install
> bmake pacakge
> bmake clean
That looks fine.
There were patches for staging support. But now committed and I don't remember
why.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/