Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ocaml-cairo graphics/ocaml-cairo: needs pkg-c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff4c32379f1b
branches:  trunk
changeset: 428458:ff4c32379f1b
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Tue Apr 28 05:46:44 2020 +0000

description:
graphics/ocaml-cairo: needs pkg-config as tool

Otherwise build to find cairo.h and ends with:

   -> stderr:
   which: pkg-config
   -> not found
   Error: Please set Gtk flags through the environment variables GTK_CFLAGS and GTK_LIBS.
   *** Error code 1

diffstat:

 graphics/ocaml-cairo/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f4cdf21f105a -r ff4c32379f1b graphics/ocaml-cairo/Makefile
--- a/graphics/ocaml-cairo/Makefile     Tue Apr 28 05:46:27 2020 +0000
+++ b/graphics/ocaml-cairo/Makefile     Tue Apr 28 05:46:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/04/12 08:28:51 adam Exp $
+# $NetBSD: Makefile,v 1.5 2020/04/28 05:46:44 riastradh Exp $
 
 GITHUB_PROJECT=        ocaml-cairo
 DISTNAME=      ${GITHUB_PROJECT}-0.6.1
@@ -11,6 +11,8 @@
 COMMENT=       Bindings for OCaml to the cairo library
 LICENSE=       gnu-lgpl-v3
 
+USE_TOOLS+=    pkg-config
+
 OCAML_USE_DUNE=                yes
 OCAML_FINDLIB_DIRS=    cairo2 cairo2-gtk cairo2-pango
 OPAM_INSTALL_FILES=    ${OCAML_FINDLIB_DIRS}



Home | Main Index | Thread Index | Old Index