Date: Mon, 9 Sep 2019 18:42:32 +0000 (UTC) From: Tilman Keskinoz <arved@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511653 - in head/textproc/retext: . files Message-ID: <201909091842.x89IgWb6025823@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arved Date: Mon Sep 9 18:42:31 2019 New Revision: 511653 URL: https://svnweb.freebsd.org/changeset/ports/511653 Log: Teach setup.py how to find lrelease. This patch is needed for upcoming Qt 5.13 Reported by: adridg@ Added: head/textproc/retext/files/ head/textproc/retext/files/patch-setup.py (contents, props changed) Modified: head/textproc/retext/Makefile Modified: head/textproc/retext/Makefile ============================================================================== --- head/textproc/retext/Makefile Mon Sep 9 18:01:31 2019 (r511652) +++ head/textproc/retext/Makefile Mon Sep 9 18:42:31 2019 (r511653) @@ -31,4 +31,7 @@ BINARY_ALIAS= lrelease=${LRELEASE} NO_ARCH= yes +post-patch: + ${REINPLACE_CMD} -e "s,lrelease,${LOCALBASE}/bin/lrelease," ${WRKSRC}/setup.py + .include <bsd.port.mk> Added: head/textproc/retext/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/retext/files/patch-setup.py Mon Sep 9 18:42:31 2019 (r511653) @@ -0,0 +1,11 @@ +--- setup.py.orig 2019-09-09 20:33:15.181197000 +0200 ++++ setup.py 2019-09-09 20:37:49.730010000 +0200 +@@ -57,7 +57,7 @@ + def run(self): + for ts_file in glob(join('locale', '*.ts')): + try: +- check_call(('lrelease', ts_file), env={'QT_SELECT': '5'}) ++ check_call(('lrelease', ts_file), env={'QT_SELECT': 'qt5'}) + except Exception as e: + log.warn('Failed to build translations: %s', e) + break
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909091842.x89IgWb6025823>