Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178112242
D49165.1795995112.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
437 B
Referenced Files
None
Subscribers
None
D49165.1795995112.diff
View Options
diff --git a/Makefile.inc1 b/Makefile.inc1
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -597,8 +597,12 @@
.endif # !defined(PKG_VERSION)
.if !defined(PKG_TIMESTAMP)
+.if !empty(GIT_CMD) && exists(${GIT_CMD}) && exists(${SRCDIR}/.git)
+SOURCE_DATE_EPOCH!= ${GIT_CMD} -C ${SRCDIR} show -s --format=%ct HEAD
+.else
TIMEEPOCHNOW= %s
SOURCE_DATE_EPOCH= ${TIMEEPOCHNOW:gmtime}
+.endif
.else
SOURCE_DATE_EPOCH= ${PKG_TIMESTAMP}
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 29, 11:31 PM (22 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42097992
Default Alt Text
D49165.1795995112.diff (437 B)
Attached To
Mode
D49165: Makefile.inc1: Make package timestamps reproducible
Attached
Detach File
Event Timeline