Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix graph and pkg/graphdb on FreeBSD #5232

Merged
merged 2 commits into from
Apr 21, 2014
Merged

Fix graph and pkg/graphdb on FreeBSD #5232

merged 2 commits into from
Apr 21, 2014

Conversation

kzys
Copy link
Member

@kzys kzys commented Apr 16, 2014

No description provided.

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
@vieux
Copy link
Contributor

vieux commented Apr 16, 2014

LGTM

@vieux
Copy link
Contributor

vieux commented Apr 16, 2014

ping @creack

@@ -108,6 +108,10 @@ LDFLAGS_STATIC_DOCKER="
"

if [ "$(uname -s)" = 'FreeBSD' ]; then
# Let's assume that SQLite is installed from Ports
export CGO_CFLAGS='-I/usr/local/include'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not terribly familiar with FreeBSD and Ports, but would it be reasonable to include something like if [ -e /usr/local/include/sqlite3.h ]; then bounding this to actually check if sqlite is installed via Ports? It's fine if it's not, but I feel like I should ask just in case that's a reasonable pattern. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
@creack
Copy link
Contributor

creack commented Apr 21, 2014

LGTM

creack added a commit that referenced this pull request Apr 21, 2014
Fix graph and pkg/graphdb on FreeBSD
@creack creack merged commit 3c50cb4 into moby:master Apr 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants