Hello,

My workflow for tweaking Fink packages currently goes like this: wait
for the build to fail, make changes in the build directory, obtain the
corresponding patch, change the package description to account for
this, re-issue the respective "fink install" command.  This if
inefficient and annoying (especially when the change turns out to be
incorrect).

Hence my question: Is it possible to resume a build process from some
user-defined point (say, from after fetching, unpacking, and
patching), so that the (new) build process will use the (possibly
modified) source already prepared in the build directory?  If so, how?

I am not sure how clear my question is, so I am going to give an
example of how would I handle a faulty package (say, ddd-3.3.12-r3) in
Gentoo Linux:

  1:  emerge ddd
  2:  # wait for the build to fail (or interrupt it)
  3:  # perform changes in the build directory
  4:  ebuild /usr/portage/dev-util/ddd/ddd-3.3.12-r3.ebuild compile install
  5:  # repeat 3 and 4 until satisfied
  6:  # change package accordingly and re-emerge, or even install on the spot:
      # ebuild /usr/portage/dev-util/ddd/ddd-3.3.12-r3.ebuild qmerge clean

I chose Gentoo as an example because a Gentoo install follows the same
pattern as Fink's, being divided into the following phases: fetch,
unpack, compile, install (equivalent to Fink building the debs),
qmerge (equivalent to Fink installing the resulting debs), clean (wipe
the build directory).

Could something like this be done in Fink?  Many thanks in advance.

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please <http://bruda.ca/ascii>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to