Skip to content

Commit

Permalink
py-otherside: fix install name on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
adam committed Mar 25, 2024
1 parent f88d5c9 commit 371ff77
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion x11/py-otherside/Makefile
Original file line number Diff line number Diff line change
@@ -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//}
Expand All @@ -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"
Expand Down

0 comments on commit 371ff77

Please sign in to comment.