summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-12-03 03:05:15 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-12-03 03:05:15 +0000
commit35504f496c21a7834d50f58ba91091bd0fcd3b68 (patch)
treebb7f6515e19ae1cb44a3dfe3bde70a64bafc1684
parent- Document Django multiple vulnerabilities (diff)
multimedia/openh264: respect SOURCE_DATE_EPOCH in GMP timestamp
Notes
Notes: svn path=/head/; revision=518904
-rw-r--r--multimedia/openh264/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/openh264/Makefile b/multimedia/openh264/Makefile
index e8ee68f3be8c..1b7ddcf6f17f 100644
--- a/multimedia/openh264/Makefile
+++ b/multimedia/openh264/Makefile
@@ -43,7 +43,8 @@ PLUGINS_USES= webplugin:gecko
WEBPLUGIN_NAME= gmp-gmp${PORTNAME}
WEBPLUGIN_FILES=gmp${PORTNAME}.info libgmp${PORTNAME}.so
SUB_FILES+= gmp${PORTNAME}.js
-SUB_LIST+= PORTVERSION=${PORTVERSION} TIMESTAMP="`date +%s`"
+SUB_LIST+= PORTVERSION=${PORTVERSION} \
+ TIMESTAMP="`${AWK} '/TIMESTAMP/ { print $$$$$$$$$3 }' ${DISTINFO_FILE}`"
TEST_BUILD_DEPENDS=googletest>=1.6.0:devel/googletest
TEST_CFLAGS= -I${LOCALBASE}/include