pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/py-qwt-qt5
Module Name: pkgsrc
Committed By: tnn
Date: Sat May 14 17:00:25 UTC 2022
Modified Files:
pkgsrc/x11/py-qwt-qt5: Makefile
Log Message:
py-qwt-qt5: fix build on macOS
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/x11/py-qwt-qt5/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/py-qwt-qt5/Makefile
diff -u pkgsrc/x11/py-qwt-qt5/Makefile:1.5 pkgsrc/x11/py-qwt-qt5/Makefile:1.6
--- pkgsrc/x11/py-qwt-qt5/Makefile:1.5 Mon Apr 18 19:12:24 2022
+++ pkgsrc/x11/py-qwt-qt5/Makefile Sat May 14 17:00:25 2022
@@ -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"
Home |
Main Index |
Thread Index |
Old Index