comms/gnuradio: Fix plist problem

fix plist when PYTHON_VERSION != 3.8

PR:		ports/261060
Reported by:	eric@camachat.org
This commit is contained in:
Diane Bruce 2022-01-09 10:49:55 -05:00
parent 36076c2b0a
commit 4c67f395d9
2 changed files with 19 additions and 19 deletions

View File

@ -82,7 +82,7 @@ OPTIONS_SUB= yes
UHD_DESC= Include UHD support from Ettus
TESTING_DESC= Include testing support
PLIST_SUB+= PORTVERSION=${PORTVERSION}
PLIST_SUB+= PORTVERSION=${PORTVERSION} PORTMAINVER=${PORTVERSION:C|^([1-9]+)\.([0-9]+)\.([0-9]+).*|\1.\2.\3|}
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \

View File

@ -854,58 +854,58 @@ lib/cmake/gnuradio/gnuradio-zeromqTargets.cmake
lib/cmake/gnuradio/runtime_swigTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/gnuradio/runtime_swigTargets.cmake
lib/libgnuradio-analog.so
lib/libgnuradio-analog.so.%%PYTHON_VER%%.4
lib/libgnuradio-analog.so.%%PORTMAINVER%%
lib/libgnuradio-analog.so.%%PORTVERSION%%
lib/libgnuradio-audio.so
lib/libgnuradio-audio.so.%%PYTHON_VER%%.4
lib/libgnuradio-audio.so.%%PORTMAINVER%%
lib/libgnuradio-audio.so.%%PORTVERSION%%
lib/libgnuradio-blocks.so
lib/libgnuradio-blocks.so.%%PYTHON_VER%%.4
lib/libgnuradio-blocks.so.%%PORTMAINVER%%
lib/libgnuradio-blocks.so.%%PORTVERSION%%
lib/libgnuradio-channels.so
lib/libgnuradio-channels.so.%%PYTHON_VER%%.4
lib/libgnuradio-channels.so.%%PORTMAINVER%%
lib/libgnuradio-channels.so.%%PORTVERSION%%
lib/libgnuradio-digital.so
lib/libgnuradio-digital.so.%%PYTHON_VER%%.4
lib/libgnuradio-digital.so.%%PORTMAINVER%%
lib/libgnuradio-digital.so.%%PORTVERSION%%
lib/libgnuradio-dtv.so
lib/libgnuradio-dtv.so.%%PYTHON_VER%%.4
lib/libgnuradio-dtv.so.%%PORTMAINVER%%
lib/libgnuradio-dtv.so.%%PORTVERSION%%
lib/libgnuradio-fec.so
lib/libgnuradio-fec.so.%%PYTHON_VER%%.4
lib/libgnuradio-fec.so.%%PORTMAINVER%%
lib/libgnuradio-fec.so.%%PORTVERSION%%
lib/libgnuradio-fft.so
lib/libgnuradio-fft.so.%%PYTHON_VER%%.4
lib/libgnuradio-fft.so.%%PORTMAINVER%%
lib/libgnuradio-fft.so.%%PORTVERSION%%
lib/libgnuradio-filter.so
lib/libgnuradio-filter.so.%%PYTHON_VER%%.4
lib/libgnuradio-filter.so.%%PORTMAINVER%%
lib/libgnuradio-filter.so.%%PORTVERSION%%
lib/libgnuradio-pmt.so
lib/libgnuradio-pmt.so.%%PYTHON_VER%%.4
lib/libgnuradio-pmt.so.%%PORTMAINVER%%
lib/libgnuradio-pmt.so.%%PORTVERSION%%
lib/libgnuradio-qtgui.so
lib/libgnuradio-qtgui.so.%%PYTHON_VER%%.4
lib/libgnuradio-qtgui.so.%%PORTMAINVER%%
lib/libgnuradio-qtgui.so.%%PORTVERSION%%
lib/libgnuradio-runtime.so
lib/libgnuradio-runtime.so.%%PYTHON_VER%%.4
lib/libgnuradio-runtime.so.%%PORTMAINVER%%
lib/libgnuradio-runtime.so.%%PORTVERSION%%
lib/libgnuradio-trellis.so
lib/libgnuradio-trellis.so.%%PYTHON_VER%%.4
lib/libgnuradio-trellis.so.%%PORTMAINVER%%
lib/libgnuradio-trellis.so.%%PORTVERSION%%
%%UHD%%lib/libgnuradio-uhd.so
%%UHD%%lib/libgnuradio-uhd.so.%%PYTHON_VER%%.4
%%UHD%%lib/libgnuradio-uhd.so.%%PORTMAINVER%%
%%UHD%%lib/libgnuradio-uhd.so.%%PORTVERSION%%
lib/libgnuradio-video-sdl.so
lib/libgnuradio-video-sdl.so.%%PYTHON_VER%%.4
lib/libgnuradio-video-sdl.so.%%PORTMAINVER%%
lib/libgnuradio-video-sdl.so.%%PORTVERSION%%
lib/libgnuradio-vocoder.so
lib/libgnuradio-vocoder.so.%%PYTHON_VER%%.4
lib/libgnuradio-vocoder.so.%%PORTMAINVER%%
lib/libgnuradio-vocoder.so.%%PORTVERSION%%
lib/libgnuradio-wavelet.so
lib/libgnuradio-wavelet.so.%%PYTHON_VER%%.4
lib/libgnuradio-wavelet.so.%%PORTMAINVER%%
lib/libgnuradio-wavelet.so.%%PORTVERSION%%
lib/libgnuradio-zeromq.so
lib/libgnuradio-zeromq.so.%%PYTHON_VER%%.4
lib/libgnuradio-zeromq.so.%%PORTMAINVER%%
lib/libgnuradio-zeromq.so.%%PORTVERSION%%
%%PYTHON_SITELIBDIR%%/gnuradio/__init__.py
%%PYTHON_SITELIBDIR%%/gnuradio/__init__.pyc