pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/rrdtool



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sat Jul  7 04:45:10 UTC 2018

Modified Files:
        pkgsrc/databases/rrdtool: options.mk

Log Message:
database/rrdtool: Fix the shared library ID on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/rrdtool/options.mk

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

Modified files:

Index: pkgsrc/databases/rrdtool/options.mk
diff -u pkgsrc/databases/rrdtool/options.mk:1.5 pkgsrc/databases/rrdtool/options.mk:1.6
--- pkgsrc/databases/rrdtool/options.mk:1.5     Sun Jul 30 17:35:39 2017
+++ pkgsrc/databases/rrdtool/options.mk Sat Jul  7 04:45:10 2018
@@ -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.tc
 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