Date: Wed, 13 Jul 2022 10:50:12 GMT From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 72073266a236 - main - multimedia/Bento4: unbreak replacement of 'python' Message-ID: <202207131050.26DAoCQD067640@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by olgeni: URL: https://cgit.FreeBSD.org/ports/commit/?id=72073266a236f80d4c52b4643174817e1b52d06f commit 72073266a236f80d4c52b4643174817e1b52d06f Author: Jimmy Olgeni <olgeni@FreeBSD.org> AuthorDate: 2022-07-13 10:34:25 +0000 Commit: Jimmy Olgeni <olgeni@FreeBSD.org> CommitDate: 2022-07-13 10:42:46 +0000 multimedia/Bento4: unbreak replacement of 'python' The scripts have 'python3' in them but the replacement was being performed on 'python', so you would end up with 'python3.93' and some wrappers did not work. --- multimedia/Bento4/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multimedia/Bento4/Makefile b/multimedia/Bento4/Makefile index 16be6fe9ef92..966f8d927700 100644 --- a/multimedia/Bento4/Makefile +++ b/multimedia/Bento4/Makefile @@ -2,6 +2,7 @@ PORTNAME= Bento4 PORTVERSION= 1.6.0 DISTVERSIONPREFIX=v DISTVERSIONSUFFIX=-639 +PORTREVISION= 1 CATEGORIES= multimedia devel MAINTAINER= rodrigo@FreeBSD.org @@ -25,7 +26,7 @@ CMAKE_BUILD_TYPE= Release INSTALL_TARGET= do-install post-patch: - @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/Source/Python/wrappers/* + @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/Source/Python/wrappers/* @${REINPLACE_CMD} -e 's|$$BASEDIR/..|${DATADIR}|g' ${WRKSRC}/Source/Python/wrappers/* do-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207131050.26DAoCQD067640>