pkgsrc-Changes archive

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

CVS commit: pkgsrc/ham/py-soapy-sdr



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.

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



Home | Main Index | Thread Index | Old Index