pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pyside6: Fix bash path in cmake generated wrapper script.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Thu Apr 3 00:01:16 2025 +1100
Changeset:	0c2dd4c28b8049b71ef31a221e3e5020334eeba8

Modified Files:
	py-pyside6/Makefile

Log Message:
py-pyside6: Fix bash path in cmake generated wrapper script.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0c2dd4c28b8049b71ef31a221e3e5020334eeba8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pyside6/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-pyside6/Makefile b/py-pyside6/Makefile
index 0dcf7bfcc2..a9fce83304 100644
--- a/py-pyside6/Makefile
+++ b/py-pyside6/Makefile
@@ -14,7 +14,7 @@ COMMENT=	Qt6 bindings for Python
 LICENSE=	gnu-gpl-v2
 
 PYTHON_VERSIONS_ACCEPTED=	311
-USE_TOOLS+=			pkg-config
+USE_TOOLS+=			pkg-config bash
 USE_LANGUAGES+=			c c++
 CMAKE_CONFIGURE_ARGS+=		-DCMAKE_INSTALL_PREFIX:STRING="${PREFIX}"
 
@@ -25,6 +25,12 @@ REPLACE_PYTHON+=	sources/pyside-tools/pyside_tool.py
 REPLACE_PYTHON+=	sources/pyside-tools/qtpy2cpp_lib/tests/baseline/basic_test.py
 REPLACE_PYTHON+=	sources/shiboken6/shiboken_tool.py
 
+SUBST_CLASSES+=		bash
+SUBST_MESSAGE.bash=	Replace bash path in cmake generated wrapper
+SUBST_STAGE.bash=	post-extract
+SUBST_FILES.bash=	sources/shiboken6/cmake/ShibokenHelpers.cmake
+SUBST_SED.bash=		-e "s|\#!/bin/bash|\#!${BASH}|g"
+
 .include "../../devel/cmake/build.mk"
 
 .include "../../devel/qt6-qttools/buildlink3.mk"


Home | Main Index | Thread Index | Old Index