git: cb323b424419 - main - science/cantera: Minor simplification

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 08:22:05 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cb323b42441955603a84d7ba0afa5a472a611359

commit cb323b42441955603a84d7ba0afa5a472a611359
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-29 08:21:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-29 08:21:31 +0000

    science/cantera: Minor simplification
---
 science/cantera/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/cantera/Makefile b/science/cantera/Makefile
index fecbcdeaf46b..748c3f57cd27 100644
--- a/science/cantera/Makefile
+++ b/science/cantera/Makefile
@@ -67,7 +67,7 @@ do-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcantera_shared.so.2.6.0
 
 do-install-PYTHON-on:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-${PYTHON_VER:S/.//}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cantera/_cantera.cpython-${PYTHON_SUFFIX}.so
 
 post-patch-OCTAVE-on: # adjust Octave version in SConscript (python styled os.environ['OCTAVE_VERSION'] somehow doesn't work for this)
 	@${REINPLACE_CMD} -e "s|, 'bin', 'glnx.*')|, 'lib', 'octave', '${OCTAVE_VERSION}')|" ${WRKSRC}/src/matlab/SConscript