forked from Lainports/freebsd-ports
Use {DOCS,EXAMPLES}_DISTFILES instead of testing PORT_OPTIONS.
Add do-test target.
Add LICENSE_FILE.
PR: 282051
Approved by: submitter is maintainer
11 lines
263 B
Perl
11 lines
263 B
Perl
--- date.pl.orig 2024-08-05 17:13:21 UTC
|
|
+++ date.pl
|
|
@@ -1,6 +1,7 @@
|
|
#!/usr/bin/env perl
|
|
|
|
-chomp($date=`date`);
|
|
+use POSIX qw(strftime);
|
|
+chomp(my $date = strftime("%Y-%m-%d", gmtime($ENV{SOURCE_DATE_EPOCH} || time)));
|
|
|
|
# inserting the date into ccx_2.22.c
|
|
|