pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/ocaml-lablgtk3



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul 15 06:49:19 UTC 2026

Modified Files:
        pkgsrc/x11/ocaml-lablgtk3: Makefile

Log Message:
ocaml-lablgtk3: try fixing install on Darwin

ok adam@


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/x11/ocaml-lablgtk3/Makefile

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

Modified files:

Index: pkgsrc/x11/ocaml-lablgtk3/Makefile
diff -u pkgsrc/x11/ocaml-lablgtk3/Makefile:1.48 pkgsrc/x11/ocaml-lablgtk3/Makefile:1.49
--- pkgsrc/x11/ocaml-lablgtk3/Makefile:1.48     Thu Jun 11 07:17:55 2026
+++ pkgsrc/x11/ocaml-lablgtk3/Makefile  Wed Jul 15 06:49:19 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2026/06/11 07:17:55 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2026/07/15 06:49:19 wiz Exp $
 
 DISTNAME=      lablgtk-3.1.5
 PKGNAME=       ocaml-${DISTNAME:S/lablgtk/lablgtk3/}
@@ -22,6 +22,17 @@ DUNE_BUILD_PACKAGES= ${OCAML_FINDLIB_DIR
 
 .include "../../lang/ocaml/ocaml.mk"
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+post-install:
+       install_name_tool -id ${PREFIX}/lib/ocaml/site-lib/stublibs/dlllablgtk3_gtkspell3_stubs.so \
+               ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/stublibs/dlllablgtk3_gtkspell3_stubs.so
+       install_name_tool -id ${PREFIX}/lib/ocaml/site-lib/stublibs/dlllablgtk3_sourceview3_stubs.so \
+               ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/stublibs/dlllablgtk3_sourceview3_stubs.so
+       install_name_tool -id ${PREFIX}/lib/ocaml/site-lib/stublibs/dlllablgtk3_stubs.so \
+               ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/stublibs/dlllablgtk3_stubs.so
+.endif
+
 .include "options.mk"
 
 .include "../../devel/camlp-streams/buildlink3.mk"



Home | Main Index | Thread Index | Old Index