-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
icu4c .pc files? #23002
Comments
What do you mean by this? The reference is in the text of the formula itself: https://github.com/mxcl/homebrew/blob/master/Library/Formula/icu4c.rb#L16 |
But to answer the question, by definition we don't link anything to the cellar when a formula is keg-only, and that includes .pc files. When a formula depends on a keg-only formula, that dep's keg is added to the PKG-CONFIG-PATH. |
#167 is the original rationale for making icu4c keg-only, which is why it is linked from the formula. We have attempted to remove this limitation in the past, but there were issues with build systems getting confused by the presence of Homebrew's icu and the libicu that ships with OS X, and more recently, conflicts with libxml2. Users can still use keg-only things, they just need to add the appropriate directory to PKG_CONFIG_PATH (e.g. /usr/local/opt/icu4c/lib/pkgconfig), or use |
@jacknagel @adamv okay, I'm trying to understand what the issues are, especially to see if ICU should do anything differently. The ICU that ships with OS X doesn't include header files nor .pc files. I don't see the conflicting definition of UChar in libxml on OSX 10.8.5. |
yaz seems to install fine with a linked icu4c on 10.8.5.
It seems like this could simplify formulae which depend on icu4c. |
Should this text add some wording such as "… or take the sane route and use |
No. OS X doesn't ship with |
@MikeMcQuaid … and |
icu4c.rb says icu is keg-only because of #167 which is closed- isn't this inconsistent? Shouldn't icu4c.rb link to a new issue (such as this one) which is still open?
Why aren't icu4c's .pc files in /usr/local/Cellar/icu4c//lib/pkgconfig/.pc linked in when icu4c is built keg only ? That would make pkg-config aware tools able to compile against it.
The text was updated successfully, but these errors were encountered: