Patching configure - Or Not
mvfranz at gmail.com
Wed Feb 6 19:44:10 PST 2008
On Feb 6, 2008 10:33 PM, <skip at pobox.com> wrote:
> 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
> inputs to configure, not configure itself.
This sounds like a better plan. How do I get macports to regenerate the
files once I patch the configure inputs?
On a related note. Is there any good examples of replacing AC_CHECK_HEADERS
macros with pkg-config?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users