Skip to content

Commit 4d96c3c

Browse files
committed
Explain how to circumvent the odd pkg-config installation on MacOSX
See also the conf-cairo package.
1 parent e24bbf6 commit 4d96c3c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
global:
77
- PACKAGE=cairo2
88
- DEPOPTS='conf-freetype'
9+
- PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
910
matrix:
1011
- OCAML_VERSION=4.02
1112
- OCAML_VERSION=4.03

cairo2.opam

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ conflicts: [
2727
"cairo" {= "0.4.1"}
2828
"cairo" {= "0.4.2"}
2929
]
30+
post-messages: [
31+
"Try to re-run the install command with PKG_CONFIG_PATH pointing a pkg-config path including libffi, e.g. if you use homebrew you can try PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig" {failure & os = "macos"}
32+
]
3033
synopsis: "Binding to Cairo, a 2D Vector Graphics Library"
3134
description: """
3235
This is a binding to Cairo, a 2D graphics library with support for

0 commit comments

Comments
 (0)