Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D1C8384D74 for ; Tue, 26 Dec 2023 09:19:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id kCFp--SnbVch for ; Tue, 26 Dec 2023 09:19:47 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2F7F384D27 for ; Tue, 26 Dec 2023 09:19:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 21E20FA42; Tue, 26 Dec 2023 09:19:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1703582387250480" MIME-Version: 1.0 Date: Tue, 26 Dec 2023 09:19:47 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/ham/py-soapy-sdr To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20231226091947.21E20FA42@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1703582387250480 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Tue Dec 26 09:19:47 UTC 2023 Modified Files: pkgsrc/ham/py-soapy-sdr: Makefile Log Message: py-soapy-sdr: fix build with Python 3.12 The path detection script uses distutils to find out where it should install to, but this is not part of Python 3.12. Explicitly pass install path. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/ham/py-soapy-sdr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1703582387250480 Content-Disposition: inline Content-Length: 805 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/ham/py-soapy-sdr/Makefile diff -u pkgsrc/ham/py-soapy-sdr/Makefile:1.5 pkgsrc/ham/py-soapy-sdr/Makefile:1.6 --- pkgsrc/ham/py-soapy-sdr/Makefile:1.5 Fri Sep 1 10:51:52 2023 +++ pkgsrc/ham/py-soapy-sdr/Makefile Tue Dec 26 09:19:46 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2023/09/01 10:51:52 nia Exp $ +# $NetBSD: Makefile,v 1.6 2023/12/26 09:19:46 wiz Exp $ DISTNAME= soapy-sdr-0.8.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -21,6 +21,7 @@ USE_LANGUAGES+= c c++ CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHONBIN:Q} CMAKE_ARGS+= -DPYTHON_CONFIG_EXECUTABLE=${PYTHONBIN:Q}-config CMAKE_ARGS+= -DSWIG_EXECUTABLE=${PREFIX:Q}/bin/swig3.0 +CMAKE_ARGS+= -DPYTHON_INSTALL_DIR=${PREFIX:Q}/${PYSITELIB} WRKSRC= ${WRKDIR}/SoapySDR-${DISTNAME}/python FORCE_CXX_STD= c++11 --_----------=_1703582387250480--