Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2019 03:05:15 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518904 - head/multimedia/openh264
Message-ID:  <201912030305.xB335Fat001401@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Dec  3 03:05:15 2019
New Revision: 518904
URL: https://svnweb.freebsd.org/changeset/ports/518904

Log:
  multimedia/openh264: respect SOURCE_DATE_EPOCH in GMP timestamp

Modified:
  head/multimedia/openh264/Makefile   (contents, props changed)

Modified: head/multimedia/openh264/Makefile
==============================================================================
--- head/multimedia/openh264/Makefile	Tue Dec  3 03:04:35 2019	(r518903)
+++ head/multimedia/openh264/Makefile	Tue Dec  3 03:05:15 2019	(r518904)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912030305.xB335Fat001401>