diff options
author | tnn <tnn@pkgsrc.org> | 2022-05-14 17:00:25 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-05-14 17:00:25 +0000 |
commit | da416a62e7c1600c230f919af6a07ef0fc6e48df (patch) | |
tree | 300462241d33708bafee349a837930cd03382343 | |
parent | c1b80722f0a05acfd16dc0ed82e85d218d4ca61b (diff) | |
download | pkgsrc-da416a62e7c1600c230f919af6a07ef0fc6e48df.tar.gz |
py-qwt-qt5: fix build on macOS
-rw-r--r-- | x11/py-qwt-qt5/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/x11/py-qwt-qt5/Makefile b/x11/py-qwt-qt5/Makefile index df2f1ec52c1..18fb7d5b6ef 100644 --- a/x11/py-qwt-qt5/Makefile +++ b/x11/py-qwt-qt5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2022/04/18 19:12:24 adam Exp $ +# $NetBSD: Makefile,v 1.6 2022/05/14 17:00:25 tnn Exp $ VERSION= 1.02.00 DISTNAME= pyqt-qwt-${VERSION} @@ -38,6 +38,17 @@ do-configure: --pyqt-sipdir=${PREFIX}/share/sip${PYVERSSUFFIX}/PyQt5 \ --verbose +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +# clang: error: invalid argument '-bundle' not allowed with '-dynamiclib' +BUILDLINK_TRANSFORM+= rm:-bundle +post-install: + install_name_tool \ + -id ${PREFIX}/${PYSITELIB}/PyQt5/Qwt.so \ + ${DESTDIR}${PREFIX}/${PYSITELIB}/PyQt5/Qwt.so +.endif + .include "../../lang/python/extension.mk" .include "../../x11/py-qt5/buildlink3.mk" .include "../../x11/py-sip/buildlink3.mk" |