Patching configure - Or Not

skip at pobox.com skip at pobox.com
Wed Feb 6 19:33:06 PST 2008


    Michael> I need to change the way configure works for a port.  Is it
    Michael> better to patch configure or change the underlying files and
    Michael> regenerate configure?  

Patching configure is going to be very fragile.  Your patch will almost
certainly break with the upstream authors upgrade to a newer version of
autoconf.  If you absolutely, positively have to patch something, patch the
inputs to configure, not configure itself.

-- 
Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/


More information about the macports-users mailing list