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: adam
Date: Mon Jul 13 06:06:06 UTC 2026
Modified Files:
pkgsrc/graphics/ocaml-cairo: Makefile buildlink3.mk
Log Message:
ocaml-cairo: fix stub name on Darwin
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/graphics/ocaml-cairo/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/ocaml-cairo/buildlink3.mk
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.44 pkgsrc/graphics/ocaml-cairo/Makefile:1.45
--- pkgsrc/graphics/ocaml-cairo/Makefile:1.44 Sun Mar 1 12:38:35 2026
+++ pkgsrc/graphics/ocaml-cairo/Makefile Mon Jul 13 06:06:06 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2026/03/01 12:38:35 gdt Exp $
+# $NetBSD: Makefile,v 1.45 2026/07/13 06:06:06 adam Exp $
DISTNAME= ${GITHUB_PROJECT}-0.6.5
PKGREVISION= 8
@@ -35,13 +35,18 @@ pre-configure:
${SED} -e "s,.*#define *OCAML_CAIRO_HAS_FT .*,#define OCAML_CAIRO_HAS_FT," \
${WRKSRC}/src/cairo_ocaml.h.p > ${WRKSRC}/src/cairo_ocaml.h
-# (See options.mk.) Upstream says that lablgtk is required, but it is
-# not.
-# https://github.com/Chris00/ocaml-cairo/issues/29
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+post-install:
+ install_name_tool -id ${PREFIX}/lib/ocaml/site-lib/stublibs/dllcairo_stubs.so \
+ ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/stublibs/dllcairo_stubs.so
+.endif
do-test:
cd ${WRKSRC} && dune test
+# (See options.mk.) Upstream says that lablgtk is required, but it is not.
+# https://github.com/Chris00/ocaml-cairo/issues/29
.include "options.mk"
.include "../../lang/ocaml/ocaml.mk"
.include "../../graphics/cairo/buildlink3.mk"
Index: pkgsrc/graphics/ocaml-cairo/buildlink3.mk
diff -u pkgsrc/graphics/ocaml-cairo/buildlink3.mk:1.10 pkgsrc/graphics/ocaml-cairo/buildlink3.mk:1.11
--- pkgsrc/graphics/ocaml-cairo/buildlink3.mk:1.10 Tue Jan 27 08:39:46 2026
+++ pkgsrc/graphics/ocaml-cairo/buildlink3.mk Mon Jul 13 06:06:06 2026
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2026/01/27 08:39:46 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2026/07/13 06:06:06 adam Exp $
BUILDLINK_TREE+= ocaml-cairo
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= ocaml-cairo
OCAML_CAIRO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-cairo+= ocaml-cairo>=0.6.1
-BUILDLINK_ABI_DEPENDS.ocaml-cairo?= ocaml-cairo>=0.6.5nb6
+BUILDLINK_ABI_DEPENDS.ocaml-cairo+= ocaml-cairo>=0.6.5nb6
BUILDLINK_PKGSRCDIR.ocaml-cairo?= ../../graphics/ocaml-cairo
.include "../../graphics/cairo/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index