On Thu, 22 May 2008 23:42:36 +0200 Bartek Palmowski <wszystkie.fajne.loginy.zajete@gmail.com> wrote:
Hi (this is my first post here \:D/) Pkgmk deletes work dir before performing build, I think it would be very handy feature to optionally allow building package from existing work dir, it would work very well altogether with nipuL's pkgutils-5.32.0-extract-only.patch[1], instead of pkgmk -do, then extracting sources manually, then modifiing Pkgfile, making patches, and then checking if it works, it would be easier to do firstly pkgmk -do -e to download and extract sources, "mess" with them, and then pkgmk -b to build from already modified sources.
It would speed up port creating and debugging process, and would be useful not only for port maintainers but also end users trying to tweak or simply make ports to work. You may think of it as similar to putting read KEY inside build(). Such feature is included in other distros' package builders i.e. "makepkg -e" etc. etc. Patch attached.
Best regards Bartlomiej Palmowski
1 - http://article.gmane.org/gmane.linux.distributions.crux.general/2940
I submitted that patch almost a year ago, and it wasn't accepted. So I guess core didn't think it's useful. I'm guessing this will meet the same fate ;) -- Lucas Hazel <lucas@die.net.au>