[PATCH 2/2 rebase] Handle CPAN/etc. DLLs in rebaseall

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Tue Feb 12 04:29:00 GMT 2013

On Mon, 11 Feb 2013 09:57:21 -0500, Christopher Faylor wrote:
> On Mon, Feb 11, 2013 at 03:48:17AM -0600, Yaakov wrote:
> >The attached patch finds DLLs in certain directories that may have been
> >installed via CPAN (Perl), easy_install (Python), pecl (PHP), gem
> >(Ruby), or R's install.packages() command.
> >+    # some interpreters include a method for installing addons outside of the
> >+    # package manager, such as CPAN and RubyGems.
> >+    for d in /usr/lib/perl5/site_perl /usr/lib/py*/site-packages \
> >+             /usr/lib/php /usr/lib/R/site-library /usr/lib/ruby/gems
> Wouldn't it be a little better to maintain a list of directories to
> search in an external file?  Then savvy packages could update that
> file as needed.

I'm not sure that is the best way to handle it, for a few reasons:

1) Each of those packages will need to be rebuilt to provide such a file
before it would be of any benefit, vs. isolating the changes to
rebaseall (which needs to be updated either way) which could be
shipped immediately.

2) CPAN-like systems don't arrive every day, so this list should be
static for the foreseeable future.  If this were a more fluid list, I
would tend to agree with you, but in this case I think it's an overkill.


More information about the Cygwin-apps mailing list