Hi Bartek, On Thu, May 22, 2008 at 23:42:36 +0200, Bartek Palmowski 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. So you'd end up with a package you can't reproduce after the 'work' is removed, because you didn't make patches from your changes. Seems like a major step back, and nothing that should be actively encouraged.
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.
Independent from your request, please note thta it's a common pattern that new users come here and tell us "it would be easier" and "it would speed up [things]" or "such feature is include in other distros". There's some comment on the in the "Compared to other Linux distributions" section of http://crux.nu/Main/About which you may want to read. HTH, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch