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.
This commit is contained in:
parent
07affa6d39
commit
9e4b4c7a08
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue