Package: density-fitness / 1.0.0-2

makefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix GNUmakefiles
Author: Maarten L. Hekkelman <maarten@hekkelman.com>
Last-Update: Tue, 08 Dec 2020 17:39:55 +0100
Forwarded: yes

--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -37,7 +37,7 @@
 					  @BOOST_PROGRAM_OPTIONS_LIB@ \
 					  @BOOST_IOSTREAMS_LIB@
 
-prefix				= @prefix@
+prefix				= $(DESTDIR)@prefix@
 exec_prefix			= @exec_prefix@
 bindir				= @bindir@
 datarootdir			= @datarootdir@
@@ -124,7 +124,7 @@
 src/revision.hpp:
 	@ echo 'const char kRevision[] = R"(' > $@
 	@ echo $(PROGRAM)-version: $(VERSION) >> $@
-	@ echo Date:   $$(date --iso-8601) >> $@
+	@ echo Date:   $$(date --utc --date=@$(SOURCE_DATE_EPOCH) --iso-8601) >> $@
 	@ echo ')";' >> $@
 
 endif