pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ocaml Fix rpaths in installed shlibs on Darwin. B...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c88f78a6a3a6
branches: trunk
changeset: 337264:c88f78a6a3a6
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Aug 02 03:13:06 2019 +0000
description:
Fix rpaths in installed shlibs on Darwin. Bump PKGREVISION.
diffstat:
lang/ocaml/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 23113e63a686 -r c88f78a6a3a6 lang/ocaml/Makefile
--- a/lang/ocaml/Makefile Thu Aug 01 23:40:47 2019 +0000
+++ b/lang/ocaml/Makefile Fri Aug 02 03:13:06 2019 +0000
@@ -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 @@
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