[71210] trunk/dports/science/usrp/files/patch-configure-libusb.diff

Michael Dickens michaelld at macports.org
Sat Sep 4 08:45:42 PDT 2010


On Sep 4, 2010, at 11:14 AM, Ryan Schmidt wrote:

  On Sep 4, 2010, at 09:39, michaelld at macports.org wrote:

  Revision: 71210

          http://trac.macports.org/changeset/71210

  Author:   michaelld at macports.org

  Date:     2010-09-04 07:39:54 -0700 (Sat, 04 Sep 2010)

  Log Message:

  -----------

  Adding in missed file; patches GNU Radio's configure, such
  that when

  looking for LIBUSB it checks to make sure the symbol
  "usb_debug" is

  found in the library.

  Ow, that's a pretty big diff, and hard to see how to update it
  in the future. I guess you modified configure.ac, re-ran
  autoconf, and then diffed the configure files? Might be
  clearer to just make the portfile patch configure.ac and rerun
  autoconf itself ("use_autoconf yes").


Yes, that's what I did.  GNU's autotools generate very discrete
'configure' sections, so it was simple to cut-and-paste between
them to create this patch.  Since all the resulting variables
were already set up (via AC_SUBST), I had no other work to do.
Nice and clean.

I'd rather not rerun autoconf unless necessary; IMHO it may or
not work depending on the user's environment.  I'd rather error
on the side of caution.

All of the above said: Luckily for me, I'm a GNU Radio developer
as well & this change (or, something very similar to it) will be
incorporated into the GIT master for 3.3.1 once it's verified on
other platforms.  So, this patch will only be necessary on this
version & then it can be removed once 3.3.1 is released.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20100904/bd5fc98a/attachment.html>


More information about the macports-dev mailing list