From 371ff7747fbf6db2e39d8bb329dc8151caece272 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 25 Mar 2024 15:11:48 +0000 Subject: [PATCH] py-otherside: fix install name on Darwin --- x11/py-otherside/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/x11/py-otherside/Makefile b/x11/py-otherside/Makefile index 86f6dc018d7b..0f3f3e727929 100644 --- a/x11/py-otherside/Makefile +++ b/x11/py-otherside/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2023/11/12 13:24:21 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2024/03/25 15:11:48 adam Exp $ DISTNAME= pyotherside-1.6.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} @@ -23,6 +23,13 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 pre-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake PYTHON_CONFIG=python${PYVERSSUFFIX}-config +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "Darwin" +post-install: + install_name_tool -id ${QTDIR}/qml/io/thp/pyotherside/libpyothersideplugin.dylib \ + ${DESTDIR}${QTDIR}/qml/io/thp/pyotherside/libpyothersideplugin.dylib +.endif + .include "../../x11/qt5-qtbase/buildlink3.mk" .include "../../x11/qt5-qtdeclarative/buildlink3.mk" .include "../../x11/qt5-qtsvg/buildlink3.mk"