pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/rrdtool database/rrdtool: Fix the shared lib...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8872dac15d5
branches: trunk
changeset: 382565:b8872dac15d5
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Jul 07 04:45:10 2018 +0000
description:
database/rrdtool: Fix the shared library ID on Darwin
diffstat:
databases/rrdtool/options.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r c9ef1ffcbec8 -r b8872dac15d5 databases/rrdtool/options.mk
--- a/databases/rrdtool/options.mk Sat Jul 07 04:15:35 2018 +0000
+++ b/databases/rrdtool/options.mk Sat Jul 07 04:45:10 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2017/07/30 17:35:39 adam Exp $
+# $NetBSD: options.mk,v 1.6 2018/07/07 04:45:10 minskim Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rrdtool
PKG_SUPPORTED_OPTIONS= lua tcl
@@ -19,6 +19,15 @@
REPLACE_FILES.tclsh= bindings/tcl/ifOctets.tcl.in
PLIST.tcl= yes
+
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+ install_name_tool -id ${PREFIX}/lib/tclrrd${PKGVERSION_NOREV}.dylib \
+ ${DESTDIR}${PREFIX}/lib/tclrrd${PKGVERSION_NOREV}.dylib
+.endif
+
.include "../../lang/tcl/buildlink3.mk"
.else # tcl
Home |
Main Index |
Thread Index |
Old Index