pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/ocaml-cairo



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Apr 28 05:46:44 UTC 2020

Modified Files:
        pkgsrc/graphics/ocaml-cairo: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/ocaml-cairo/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/ocaml-cairo/Makefile
diff -u pkgsrc/graphics/ocaml-cairo/Makefile:1.4 pkgsrc/graphics/ocaml-cairo/Makefile:1.5
--- pkgsrc/graphics/ocaml-cairo/Makefile:1.4    Sun Apr 12 08:28:51 2020
+++ pkgsrc/graphics/ocaml-cairo/Makefile        Tue Apr 28 05:46:44 2020
@@ -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 @@ HOMEPAGE=     https://github.com/Chris00/oca
 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