pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Aug  2 03:13:06 UTC 2019

Modified Files:
        pkgsrc/lang/ocaml: Makefile

Log Message:
Fix rpaths in installed shlibs on Darwin. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 pkgsrc/lang/ocaml/Makefile

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

Modified files:

Index: pkgsrc/lang/ocaml/Makefile
diff -u pkgsrc/lang/ocaml/Makefile:1.125 pkgsrc/lang/ocaml/Makefile:1.126
--- pkgsrc/lang/ocaml/Makefile:1.125    Wed Jul 10 17:53:38 2019
+++ pkgsrc/lang/ocaml/Makefile  Fri Aug  2 03:13:06 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.125 2019/07/10 17:53:38 sevan Exp $
+# $NetBSD: Makefile,v 1.126 2019/08/02 03:13:06 schmonz Exp $
 
 .include "Makefile.common"
 
-PKGREVISION=           3
+PKGREVISION=           4
 
 CONFIGURE_ENV+=                disable_x11=yes
 
@@ -106,6 +106,12 @@ post-install:
          ln -sf ${PREFIX}/lib/ocaml/${PKGMANDIR}/man1/$$m              \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$m;              \
        done
+.if ${OPSYS} == Darwin
+       set -e; cd ${DESTDIR}${PREFIX}/lib/ocaml;                       \
+       for l in *.so */*.so; do                                        \
+         install_name_tool -id ${PREFIX}/lib/ocaml/$${l} $${l};        \
+       done
+.endif
 
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/termcap.buildlink3.mk"



Home | Main Index | Thread Index | Old Index