pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/qt5-qtbase
Module Name: pkgsrc
Committed By: minskim
Date: Thu Jul 26 02:16:05 UTC 2018
Modified Files:
pkgsrc/x11/qt5-qtbase: Makefile.common
Log Message:
x11/qt5-*: Fix install_name on Darwin
This should fix PR 53460.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/x11/qt5-qtbase/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/qt5-qtbase/Makefile.common
diff -u pkgsrc/x11/qt5-qtbase/Makefile.common:1.26 pkgsrc/x11/qt5-qtbase/Makefile.common:1.27
--- pkgsrc/x11/qt5-qtbase/Makefile.common:1.26 Tue Jun 19 07:21:23 2018
+++ pkgsrc/x11/qt5-qtbase/Makefile.common Thu Jul 26 02:16:05 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.26 2018/06/19 07:21:23 adam Exp $
+# $NetBSD: Makefile.common,v 1.27 2018/07/26 02:16:05 minskim Exp $
# used by x11/qt5-mysql/Makefile
# used by x11/qt5-odbc/Makefile
# used by x11/qt5-psql/Makefile
@@ -62,3 +62,15 @@ SCRIPTS_ENV+= HOME=${WRKDIR}
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QTPREFIX}/bin/qmake -o Makefile
.endif
+
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+ ${FIND} ${DESTDIR}${PREFIX} -name "*.dylib" | \
+ while read lib; do \
+ libname=`basename $${lib}`; \
+ libdir=`dirname $${lib} | sed -e 's,${DESTDIR},,'`; \
+ install_name_tool -id $${libdir}/$${libname} $${lib}; \
+ done
+.endif
Home |
Main Index |
Thread Index |
Old Index