This is the mail archive of the cygwin-apps mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 7/6/2010 23:36, Charles Wilson wrote:Now, in this case you do NOT want to run autoreconf. The gcc codebase requires "careful handling" if you want to update the auto* generated files; autoreconf is not smart enough.
I did this too with the libstdc++-v3, libgomp and etc, but only libobjc-2 is having trouble?
Perhaps the simplest is an extra command in src_build: (cd ${S}/libobjc && autoconf) to just force the end user to "fixup" THAT configure script only, without mucking with any other auto* generated files.
Right now, libtool version difference prevents that from going smoothly.
Another option (one that I've had to use on occasion) is to give up on letting cygport handle the patch generation for .src.patch. What you do, is you just don't HAVE a .src.patch. Instead, you make your OWN patch, ensure it contains all the files you want to include, like libobjc/configure, and name that patch ANYTHING but ${P}.src.patch. Then, add this to your cygport:
PATCH_URI="the-name-of-my-custom-patch"
Just use diff -ur origsrc src right? I have not actually edited any files other than the autotool stuff.
However, before you modify your .cygport recipe to rely on un-official cygport patches, let's make sure Yaakov actually accepts the patch. (I know from long painful experience that you do NOT want to get ahead of Yaakov's patch-acceptance process).
I can see his hesitation about accepting the .cygport file, it won't build cleanly on another machine unless its patched too.
Given all that, this remaining issue where libobjc/configure is not kept in sync with libobjc/configure.ac is the only remaining problem with rebuilding the mingw64-gcc packages. With that corrected, it rebuilds fine from source.
Alright, thanks for the review, I'll get a new upload as soon as possible.
-- Chuck
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |