Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142216561
D25639.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
D25639.id.diff
View Options
Index: head/lang/erlang-runtime23/Makefile
===================================================================
--- head/lang/erlang-runtime23/Makefile
+++ head/lang/erlang-runtime23/Makefile
@@ -4,6 +4,7 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
DISTVERSION= 23.0.2
+PORTREVISION= 1
CATEGORIES= lang parallel java
PKGNAMESUFFIX= -runtime23
DIST_SUBDIR= erlang
@@ -33,6 +34,8 @@
ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//}
+PKG_ENV+= SOURCE_DATE_EPOCH=${TIMESTAMP}
+
OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP THREADS WX
OPTIONS_DEFAULT=CORBA DIRTY DTRACE KQUEUE OPENSSL SCTP THREADS
OPTIONS_EXCLUDE_powerpc64= HIPE ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
@@ -87,6 +90,8 @@
.include <bsd.port.pre.mk>
+CONFIGURE_ARGS+= --disable-saved-compile-time
+
.if ${OPSYS} == FreeBSD
CFLAGS+= -DMAP_NORESERVE=0
.endif
@@ -156,4 +161,13 @@
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \
| ${SORT} >> ${TMPPLIST}
+post-build:
+ cd ${WRKSRC} ; \
+ TIMESTAMP=`grep TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g'`; \
+ TS1=`date -r $${TIMESTAMP} +"Date: %d-%b-%Y::%H:%M:%S"` ; \
+ TS2=`date -r $${TIMESTAMP} +"script generated at {%Y,%M,%d} {%H,%M,%S}"` ; \
+ ${REINPLACE_CMD} -i '' -e 's|^%%% Date:.*|%%% '"$${TS1}"'|' lib/snmp/include/*.hrl ; \
+ ${REINPLACE_CMD} -i '' -e 's|^%% script generated at.*|%% '"$${TS2}"'|' \
+ bin/*.script erts/start_scripts/*.script
+
.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 9:15 AM (19 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27703218
Default Alt Text
D25639.id.diff (1 KB)
Attached To
Mode
D25639: make lang/erlang-runtime23 package build reproducible
Attached
Detach File
Event Timeline
Log In to Comment