diff options
author | minskim <minskim@pkgsrc.org> | 2018-07-07 04:45:10 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-07-07 04:45:10 +0000 |
commit | 9f450c1deeee762e1bd3b24ac7d917ebbd5d7cdf (patch) | |
tree | 5bc1331c24b991115fab75ec37aa987128c65df2 | |
parent | 52e32d75b2effb7e932beddd29b6ce7141ec6a31 (diff) | |
download | pkgsrc-9f450c1deeee762e1bd3b24ac7d917ebbd5d7cdf.tar.gz |
database/rrdtool: Fix the shared library ID on Darwin
-rw-r--r-- | databases/rrdtool/options.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/databases/rrdtool/options.mk b/databases/rrdtool/options.mk index b42a2006305..a662cce5f38 100644 --- a/databases/rrdtool/options.mk +++ b/databases/rrdtool/options.mk @@ -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.tclsh.new= ${BUILDLINK_PREFIX.tcl}/bin/tclsh 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 |