{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/git2r/issues/231","repository_url":"https://api.github.com/repos/ropensci/git2r","labels_url":"https://api.github.com/repos/ropensci/git2r/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/git2r/issues/231/comments","events_url":"https://api.github.com/repos/ropensci/git2r/issues/231/events","html_url":"https://github.com/ropensci/git2r/pull/231","id":149728739,"number":231,"title":"Use pkg-config if available","user":{"login":"pipping","id":61962,"avatar_url":"https://avatars.githubusercontent.com/u/61962?v=3","gravatar_id":"","url":"https://api.github.com/users/pipping","html_url":"https://github.com/pipping","followers_url":"https://api.github.com/users/pipping/followers","following_url":"https://api.github.com/users/pipping/following{/other_user}","gists_url":"https://api.github.com/users/pipping/gists{/gist_id}","starred_url":"https://api.github.com/users/pipping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipping/subscriptions","organizations_url":"https://api.github.com/users/pipping/orgs","repos_url":"https://api.github.com/users/pipping/repos","events_url":"https://api.github.com/users/pipping/events{/privacy}","received_events_url":"https://api.github.com/users/pipping/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T10:29:06Z","updated_at":"2016-04-20T21:02:43Z","closed_at":"2016-04-20T21:02:16Z","pull_request":{"url":"https://api.github.com/repos/ropensci/git2r/pulls/231","html_url":"https://github.com/ropensci/git2r/pull/231","diff_url":"https://github.com/ropensci/git2r/pull/231.diff","patch_url":"https://github.com/ropensci/git2r/pull/231.patch"},"body":"pkg-config is now used to find libssl, if possible.\r\n\r\nI've tested this to work in a few settings:\r\n\r\n* With pkg-config installed, libssl in a nonstandard place and properly set `PKG_CONFIG_PATH` (this previously did not work but does now)\r\n* With pkg-config installed, libssl in a nonstandard place and `PKG_CONFIG_PATH` unset (yields a warning, proceeds as before)\r\n* Without pkg-config installed but libssl in a standard place (yields a warning, proceeds as before) as is the case on OS X\r\n\r\nThis should make it possible for more R users than before to install git2r without touching `configure.args` and should also fix #218."},"comment":{"url":"https://api.github.com/repos/ropensci/git2r/issues/comments/212604883","html_url":"https://github.com/ropensci/git2r/pull/231#issuecomment-212604883","issue_url":"https://api.github.com/repos/ropensci/git2r/issues/231","id":212604883,"user":{"login":"stewid","id":1815965,"avatar_url":"https://avatars.githubusercontent.com/u/1815965?v=3","gravatar_id":"","url":"https://api.github.com/users/stewid","html_url":"https://github.com/stewid","followers_url":"https://api.github.com/users/stewid/followers","following_url":"https://api.github.com/users/stewid/following{/other_user}","gists_url":"https://api.github.com/users/stewid/gists{/gist_id}","starred_url":"https://api.github.com/users/stewid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewid/subscriptions","organizations_url":"https://api.github.com/users/stewid/orgs","repos_url":"https://api.github.com/users/stewid/repos","events_url":"https://api.github.com/users/stewid/events{/privacy}","received_events_url":"https://api.github.com/users/stewid/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T21:02:43Z","updated_at":"2016-04-20T21:02:43Z","body":"Thanks"}}