{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/osquery/pulls/comments/29824828","id":29824828,"diff_hunk":"@@ -1,7 +1,18 @@\n-cmake_minimum_required(VERSION 2.8.12)\n+cmake_minimum_required(VERSION 3.0)\n+\n+if(NOT DEFINED ENV{CC})\n+  set(CMAKE_C_COMPILER \"clang\")\n+else()\n+  set(CMAKE_C_COMPILER \"$ENV{CC}\")","path":"CMakeLists.txt","position":7,"original_position":7,"commit_id":"45f2437b7fe991939150f79a1b21ee0df6aaf42f","original_commit_id":"45f2437b7fe991939150f79a1b21ee0df6aaf42f","user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"body":"@zi0r, now `CC=cc CXX=c++ gmake` should work as expected.","created_at":"2015-05-07T05:07:55Z","updated_at":"2015-05-07T05:07:55Z","html_url":"https://github.com/facebook/osquery/pull/1110#discussion_r29824828","pull_request_url":"https://api.github.com/repos/facebook/osquery/pulls/1110","_links":{"self":{"href":"https://api.github.com/repos/facebook/osquery/pulls/comments/29824828"},"html":{"href":"https://github.com/facebook/osquery/pull/1110#discussion_r29824828"},"pull_request":{"href":"https://api.github.com/repos/facebook/osquery/pulls/1110"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/1110","id":34883449,"html_url":"https://github.com/facebook/osquery/pull/1110","diff_url":"https://github.com/facebook/osquery/pull/1110.diff","patch_url":"https://github.com/facebook/osquery/pull/1110.patch","issue_url":"https://api.github.com/repos/facebook/osquery/issues/1110","number":1110,"state":"open","locked":false,"title":"Towards building on FreeBSD/ports","user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"body":"Tracking changes proposed by @zi0r in: https://github.com/facebook/osquery/pull/1107\r\n\r\nWe'll iterate on the other PR. This (#1110) is intermediate and a WIP to stress the supported build hosts.","created_at":"2015-05-07T05:02:02Z","updated_at":"2015-05-07T05:07:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca25238b2dbcbc6db2da38932e46bf7cab8b353c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/osquery/pulls/1110/commits","review_comments_url":"https://api.github.com/repos/facebook/osquery/pulls/1110/comments","review_comment_url":"https://api.github.com/repos/facebook/osquery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/1110/comments","statuses_url":"https://api.github.com/repos/facebook/osquery/statuses/45f2437b7fe991939150f79a1b21ee0df6aaf42f","head":{"label":"theopolis:build_freebsd","ref":"build_freebsd","sha":"45f2437b7fe991939150f79a1b21ee0df6aaf42f","user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"repo":{"id":26103098,"name":"osquery","full_name":"theopolis/osquery","owner":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theopolis/osquery","description":"SQL powered operating system instrumentation and monitoring.","fork":true,"url":"https://api.github.com/repos/theopolis/osquery","forks_url":"https://api.github.com/repos/theopolis/osquery/forks","keys_url":"https://api.github.com/repos/theopolis/osquery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theopolis/osquery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theopolis/osquery/teams","hooks_url":"https://api.github.com/repos/theopolis/osquery/hooks","issue_events_url":"https://api.github.com/repos/theopolis/osquery/issues/events{/number}","events_url":"https://api.github.com/repos/theopolis/osquery/events","assignees_url":"https://api.github.com/repos/theopolis/osquery/assignees{/user}","branches_url":"https://api.github.com/repos/theopolis/osquery/branches{/branch}","tags_url":"https://api.github.com/repos/theopolis/osquery/tags","blobs_url":"https://api.github.com/repos/theopolis/osquery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theopolis/osquery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theopolis/osquery/git/refs{/sha}","trees_url":"https://api.github.com/repos/theopolis/osquery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theopolis/osquery/statuses/{sha}","languages_url":"https://api.github.com/repos/theopolis/osquery/languages","stargazers_url":"https://api.github.com/repos/theopolis/osquery/stargazers","contributors_url":"https://api.github.com/repos/theopolis/osquery/contributors","subscribers_url":"https://api.github.com/repos/theopolis/osquery/subscribers","subscription_url":"https://api.github.com/repos/theopolis/osquery/subscription","commits_url":"https://api.github.com/repos/theopolis/osquery/commits{/sha}","git_commits_url":"https://api.github.com/repos/theopolis/osquery/git/commits{/sha}","comments_url":"https://api.github.com/repos/theopolis/osquery/comments{/number}","issue_comment_url":"https://api.github.com/repos/theopolis/osquery/issues/comments{/number}","contents_url":"https://api.github.com/repos/theopolis/osquery/contents/{+path}","compare_url":"https://api.github.com/repos/theopolis/osquery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theopolis/osquery/merges","archive_url":"https://api.github.com/repos/theopolis/osquery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theopolis/osquery/downloads","issues_url":"https://api.github.com/repos/theopolis/osquery/issues{/number}","pulls_url":"https://api.github.com/repos/theopolis/osquery/pulls{/number}","milestones_url":"https://api.github.com/repos/theopolis/osquery/milestones{/number}","notifications_url":"https://api.github.com/repos/theopolis/osquery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theopolis/osquery/labels{/name}","releases_url":"https://api.github.com/repos/theopolis/osquery/releases{/id}","created_at":"2014-11-03T03:56:14Z","updated_at":"2015-04-26T10:54:32Z","pushed_at":"2015-05-07T04:58:27Z","git_url":"git://github.com/theopolis/osquery.git","ssh_url":"git@github.com:theopolis/osquery.git","clone_url":"https://github.com/theopolis/osquery.git","svn_url":"https://github.com/theopolis/osquery","homepage":"http://osquery.io","size":7100,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"a64270f324b676bafec50bb807c22d2e32886b76","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":22394357,"name":"osquery","full_name":"facebook/osquery","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/osquery","description":"SQL powered operating system instrumentation, monitoring, and analytics.","fork":false,"url":"https://api.github.com/repos/facebook/osquery","forks_url":"https://api.github.com/repos/facebook/osquery/forks","keys_url":"https://api.github.com/repos/facebook/osquery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/osquery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/osquery/teams","hooks_url":"https://api.github.com/repos/facebook/osquery/hooks","issue_events_url":"https://api.github.com/repos/facebook/osquery/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/osquery/events","assignees_url":"https://api.github.com/repos/facebook/osquery/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/osquery/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/osquery/tags","blobs_url":"https://api.github.com/repos/facebook/osquery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/osquery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/osquery/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/osquery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/osquery/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/osquery/languages","stargazers_url":"https://api.github.com/repos/facebook/osquery/stargazers","contributors_url":"https://api.github.com/repos/facebook/osquery/contributors","subscribers_url":"https://api.github.com/repos/facebook/osquery/subscribers","subscription_url":"https://api.github.com/repos/facebook/osquery/subscription","commits_url":"https://api.github.com/repos/facebook/osquery/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/osquery/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/osquery/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/osquery/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/osquery/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/osquery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/osquery/merges","archive_url":"https://api.github.com/repos/facebook/osquery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/osquery/downloads","issues_url":"https://api.github.com/repos/facebook/osquery/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/osquery/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/osquery/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/osquery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/osquery/labels{/name}","releases_url":"https://api.github.com/repos/facebook/osquery/releases{/id}","created_at":"2014-07-29T20:27:33Z","updated_at":"2015-05-07T04:22:20Z","pushed_at":"2015-05-07T05:02:02Z","git_url":"git://github.com/facebook/osquery.git","ssh_url":"git@github.com:facebook/osquery.git","clone_url":"https://github.com/facebook/osquery.git","svn_url":"https://github.com/facebook/osquery","homepage":"https://osquery.io","size":16865,"stargazers_count":4127,"watchers_count":4127,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":321,"mirror_url":null,"open_issues_count":34,"forks":321,"open_issues":34,"watchers":4127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/osquery/pulls/1110"},"html":{"href":"https://github.com/facebook/osquery/pull/1110"},"issue":{"href":"https://api.github.com/repos/facebook/osquery/issues/1110"},"comments":{"href":"https://api.github.com/repos/facebook/osquery/issues/1110/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/osquery/pulls/1110/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/osquery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/osquery/pulls/1110/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/osquery/statuses/45f2437b7fe991939150f79a1b21ee0df6aaf42f"}}}}