Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

crossroads: fix pgm build errors #15255

Closed
wants to merge 1 commit into from
Closed

Conversation

2bits
Copy link
Contributor

@2bits 2bits commented Oct 2, 2012

crossroads builds an internal libpgm from source, but that causes
build errors because of a conflicting struct definition with OSX
netinet.h. So instead of dealing with that, link crossroads
against our libpgm-5.2 which builds without error. Add a couple
of ENV vars to override pkg-config and help crossroads find
the libpgm we now depend on, which it can't find otherwise because
it's looking for openpgm-5.1.pc and we offer openpgm-5.2.pc.
Crossroads passes make check on 10.8.2 with XCode-4.5.

Fixes #15217

crossroads builds an internal libpgm from source, but that causes
build errors because of a conflicting struct definition with OSX
`netinet.h`.  So instead of dealing with that, link crossroads
against our libpgm-5.2 which builds without error.  Add a couple
of ENV vars to override `pkg-config` and help crossroads find
the libpgm we now depend on, which it can't find otherwise because
it's looking for `openpgm-5.1.pc` and we offer `openpgm-5.2.pc`.
Crossroads passes `make check` on 10.8.2 with XCode-4.5.

Fixes Homebrew#15217
@adamv adamv closed this in 47cfcad Oct 2, 2012
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012
crossroads builds an internal libpgm from source, but that causes
build errors because of a conflicting struct definition with OSX
`netinet.h`.  So instead of dealing with that, link crossroads
against our libpgm-5.2 which builds without error.  Add a couple
of ENV vars to override `pkg-config` and help crossroads find
the libpgm we now depend on, which it can't find otherwise because
it's looking for `openpgm-5.1.pc` and we offer `openpgm-5.2.pc`.
Crossroads passes `make check` on 10.8.2 with XCode-4.5.

Fixes Homebrew#15217

Closes Homebrew#15255.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crossroads failed to build on 10.8.2
2 participants