Permalink
Browse files

cairo: make lablgtk an optional dep

  • Loading branch information...
pveber committed Mar 23, 2013
1 parent 8afdb12 commit a47f535120d33c8e547c660dd216ac5e774faab2
Showing with 3 additions and 2 deletions.
  1. +3 −2 packages/cairo.0.4.2/opam
@@ -1,11 +1,12 @@
opam-version: "1"
maintainer: "contact@ocamlpro.com"
build: [
- ["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%"]
+ ["ocaml" "setup.ml" "-configure" "--prefix" "%{prefix}%" "--%{lablgtk:enable}%-lablgtk2"]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-install"]
]
remove: [
["ocamlfind" "remove" "cairo2"]
]
-depends: ["ocamlfind" "lablgtk"]
+depends: ["ocamlfind"]
+depopts: ["lablgtk"]

0 comments on commit a47f535

Please sign in to comment.