py-otherside: fix install name on Darwin

This commit is contained in:
adam 2024-03-25 15:11:48 +00:00
parent f88d5c923f
commit 371ff7747f
1 changed files with 8 additions and 1 deletions

View File

@ -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"