svn commit: r518904 - head/multimedia/openh264

Jan Beich jbeich at FreeBSD.org
Tue Dec 3 03:05:15 UTC 2019


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


More information about the svn-ports-head mailing list