{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/36569","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36569/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36569/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36569/events","html_url":"https://github.com/Homebrew/homebrew/issues/36569","id":56721803,"number":36569,"title":"plplot failed to build on 10.10.2","user":{"login":"jhcsu","id":8312113,"avatar_url":"https://avatars.githubusercontent.com/u/8312113?v=3","gravatar_id":"","url":"https://api.github.com/users/jhcsu","html_url":"https://github.com/jhcsu","followers_url":"https://api.github.com/users/jhcsu/followers","following_url":"https://api.github.com/users/jhcsu/following{/other_user}","gists_url":"https://api.github.com/users/jhcsu/gists{/gist_id}","starred_url":"https://api.github.com/users/jhcsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhcsu/subscriptions","organizations_url":"https://api.github.com/users/jhcsu/orgs","repos_url":"https://api.github.com/users/jhcsu/repos","events_url":"https://api.github.com/users/jhcsu/events{/privacy}","received_events_url":"https://api.github.com/users/jhcsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-05T20:05:37Z","updated_at":"2015-02-27T02:30:17Z","closed_at":null,"body":"plplot fails to build on 10.10.... here is the [Gist](https://gist.github.com/anonymous/18cb90dff62ab2525619).\r\n\r\nI see several errors related to ada and the d compiler, but those features are apparently disabled as a result of those errors."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/76320077","html_url":"https://github.com/Homebrew/homebrew/issues/36569#issuecomment-76320077","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36569","id":76320077,"user":{"login":"XhrisPhillips","id":11220209,"avatar_url":"https://avatars.githubusercontent.com/u/11220209?v=3","gravatar_id":"","url":"https://api.github.com/users/XhrisPhillips","html_url":"https://github.com/XhrisPhillips","followers_url":"https://api.github.com/users/XhrisPhillips/followers","following_url":"https://api.github.com/users/XhrisPhillips/following{/other_user}","gists_url":"https://api.github.com/users/XhrisPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/XhrisPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhrisPhillips/subscriptions","organizations_url":"https://api.github.com/users/XhrisPhillips/orgs","repos_url":"https://api.github.com/users/XhrisPhillips/repos","events_url":"https://api.github.com/users/XhrisPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/XhrisPhillips/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T02:30:17Z","updated_at":"2015-02-27T02:30:17Z","body":"Actually a better fix would have been (pinched from the plplot git)\r\n\r\n    -  _pkg_check_modules_internal(0 0 ${_prefix} \"${_package}\")\r\n    +  if(CMAKE_VERSION VERSION_LESS \"3.1\")\r\n    +    _pkg_check_modules_internal(0 0 ${_prefix} \"${_package}\")\r\n    +  else(CMAKE_VERSION VERSION_LESS \"3.1\")\r\n    +    _pkg_check_modules_internal(0 0 0 0 ${_prefix} \"${_package}\")\r\n    +  endif(CMAKE_VERSION VERSION_LESS \"3.1\")\r\n    +    "}}