Date: Mon, 4 Mar 2019 18:58:31 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494632 - head/textproc/scdoc Message-ID: <201903041858.x24IwVM1097086@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Mar 4 18:58:31 2019 New Revision: 494632 URL: https://svnweb.freebsd.org/changeset/ports/494632 Log: textproc/scdoc: unbreak "make test" after r494629 Failed conversion of ``2017-12-09 23:18:57'' using format ``%F %T %z'' date: illegal time format usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]] [-I[date | hours | minutes | seconds]] [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format] Supports $SOURCE_DATE_EPOCH FAIL Modified: head/textproc/scdoc/Makefile (contents, props changed) Modified: head/textproc/scdoc/Makefile ============================================================================== --- head/textproc/scdoc/Makefile Mon Mar 4 18:35:02 2019 (r494631) +++ head/textproc/scdoc/Makefile Mon Mar 4 18:58:31 2019 (r494632) @@ -23,7 +23,8 @@ PLIST_FILES= bin/${PORTNAME} \ man/man5/${PORTNAME}.5.gz post-patch: - @${REINPLACE_CMD} -i '' 's,--date=,-f "%F %T %z" ,' \ + @${REINPLACE_CMD} -i '' -e 's,--date=,-f "%F %T" ,' \ + -e '/SOURCE_DATE/s/date/TZ=UTC+5 &/' \ ${WRKSRC}/test/preamble post-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903041858.x24IwVM1097086>