pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cloc



Module Name:    pkgsrc
Committed By:   mcf
Date:           Mon Jun 28 19:41:36 UTC 2021

Modified Files:
        pkgsrc/devel/cloc: Makefile

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/cloc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cloc/Makefile
diff -u pkgsrc/devel/cloc/Makefile:1.12 pkgsrc/devel/cloc/Makefile:1.13
--- pkgsrc/devel/cloc/Makefile:1.12     Sun Jun 13 19:51:23 2021
+++ pkgsrc/devel/cloc/Makefile  Mon Jun 28 19:41:36 2021
@@ -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 @@ DEPENDS+=     p5-Parallel-ForkManager-[0-9]*
 
 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