diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-03-04 18:58:31 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-03-04 18:58:31 +0000 |
commit | ae2e3c755ae91133c467b5618de369b831b71c5b (patch) | |
tree | 2d73ce1e2147781cbe0d34c2ac0743c83268d89b /textproc/scdoc | |
parent | 89f8f8dff86b66923d9dfeef137d4a9d46d203ad (diff) | |
download | ports-ae2e3c755ae91133c467b5618de369b831b71c5b.tar.gz ports-ae2e3c755ae91133c467b5618de369b831b71c5b.zip |
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
Notes
Notes:
svn path=/head/; revision=494632
Diffstat (limited to 'textproc/scdoc')
-rw-r--r-- | textproc/scdoc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/scdoc/Makefile b/textproc/scdoc/Makefile index f64d0d045346..cf49a92ccb64 100644 --- a/textproc/scdoc/Makefile +++ b/textproc/scdoc/Makefile @@ -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: |