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:   fcambus
Date:           Sun Jun 13 19:51:24 UTC 2021

Modified Files:
        pkgsrc/devel/cloc: Makefile

Log Message:
cloc: fix man page generation.

pod2man.mk previously failed to generate the man page because of a date
command failure.

Issue originally reported by Omar Polo on the OpenBSD ports mailing
list, and workaround provided there by Stuart Henderson.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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.11 pkgsrc/devel/cloc/Makefile:1.12
--- pkgsrc/devel/cloc/Makefile:1.11     Mon May 24 19:49:54 2021
+++ pkgsrc/devel/cloc/Makefile  Sun Jun 13 19:51:23 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2021/05/24 19:49:54 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2021/06/13 19:51:23 fcambus Exp $
 
 DISTNAME=      cloc-1.90
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=AlDanial/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -20,6 +20,8 @@ DEPENDS+=     p5-Parallel-ForkManager-[0-9]*
 
 REPLACE_PERL+= Unix/cloc
 
+MAKE_ENV+=     PODDATE=`stat -t %Y-%m-%d -f %Sm ${WRKSRC}/cloc`
+
 NO_BUILD=      yes
 BUILD_DIRS=    Unix
 



Home | Main Index | Thread Index | Old Index