pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cloc cloc: specify PODDATE exactly instead of us...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dbe823a7b15
branches:  trunk
changeset: 455145:6dbe823a7b15
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Mon Jun 28 19:41:36 2021 +0000

description:
cloc: specify PODDATE exactly instead of using non-portable stat(1) command

BSD and Linux stat(1) vary quite heavily in their option syntax,
and this usage is not supported on Linux. Instead, just write out
the manual date explicity (to be updated during releases).

diffstat:

 devel/cloc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e65af3253808 -r 6dbe823a7b15 devel/cloc/Makefile
--- a/devel/cloc/Makefile       Mon Jun 28 19:33:44 2021 +0000
+++ b/devel/cloc/Makefile       Mon Jun 28 19:41:36 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2021/06/13 19:51:23 fcambus Exp $
+# $NetBSD: Makefile,v 1.13 2021/06/28 19:41:36 mcf Exp $
 
 DISTNAME=      cloc-1.90
 PKGREVISION=   2
@@ -20,7 +20,7 @@
 
 REPLACE_PERL+= Unix/cloc
 
-MAKE_ENV+=     PODDATE=`stat -t %Y-%m-%d -f %Sm ${WRKSRC}/cloc`
+MAKE_ENV+=     PODDATE=2021-05-01
 
 NO_BUILD=      yes
 BUILD_DIRS=    Unix



Home | Main Index | Thread Index | Old Index