Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153597976
D2032.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2032.id.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -5030,6 +5030,15 @@
.endif
.endif
+.if !target(fix-timestamp)
+fix-timestamp:
+ @${ECHO_MSG} "====> Fixing timestamps (fix-timestamp)"
+.if !empty(ALLFILES)
+ @${FIND} ${STAGEDIR}${PREFIX} -exec ${TOUCH} -r ${LATEST:!${LS} -rt ${ALLFILES:C/^/${_DISTDIR}\//} | tail -n 1!} {} +
+.else
+.endif
+.endif
+
# Generate packing list. Also tests to make sure all required package
# files exist.
@@ -5916,7 +5925,7 @@
install-rc-script install-ldconfig-file install-license \
install-desktop-entries add-plist-info add-plist-docs \
add-plist-examples add-plist-data add-plist-post \
- move-uniquefiles-plist ${POST_PLIST}
+ move-uniquefiles-plist fix-timestamp ${POST_PLIST}
.if defined(DEVELOPER)
_STAGE_SUSEQ+= stage-qa
.endif
@@ -5928,7 +5937,7 @@
install-rc-script install-ldconfig-file install-license \
install-desktop-entries add-plist-info add-plist-docs \
add-plist-examples add-plist-data add-plist-post \
- move-uniquefiles-plist ${POST_PLIST}
+ move-uniquefiles-plist fix-timestamp ${POST_PLIST}
.if defined(DEVELOPER)
_STAGE_SEQ+= stage-qa
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 23, 5:49 AM (1 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31963137
Default Alt Text
D2032.id.diff (1 KB)
Attached To
Mode
D2032: Set the timestamp of files in the stage dir to the timestamp of the newest distfile. This is to support reproducable builds. Note, doesn't work on 8.x, need to find a solution to that.
Attached
Detach File
Event Timeline
Log In to Comment