Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2019 15:57:26 +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: r492309 - head/multimedia/libvpx
Message-ID:  <201902061557.x16FvQuu035437@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Feb  6 15:57:26 2019
New Revision: 492309
URL: https://svnweb.freebsd.org/changeset/ports/492309

Log:
  multimedia/libvpx: handle snapshots in version string
  
  - head(1) which is not part of native-xtools
  - CHANGELOG is only updated on releases
  - similar change was done in multimedia/aom

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

Modified: head/multimedia/libvpx/Makefile
==============================================================================
--- head/multimedia/libvpx/Makefile	Wed Feb  6 15:40:02 2019	(r492308)
+++ head/multimedia/libvpx/Makefile	Wed Feb  6 15:57:26 2019	(r492309)
@@ -63,6 +63,9 @@ THREADS_CONFIGURE_OFF=	--disable-multithread
 post-patch:
 	@${REINPLACE_CMD} -E '/gcctarget|link_with_cc/s/gcc[[:>:]]/$${CC}/' \
 		${WRKSRC}/build/make/configure.sh
+# Extract (snapshot) version from the port instead of CHANGELOG
+	@${REINPLACE_CMD} '/^git_version_id/s/""/"${DISTVERSIONFULL}"/' \
+		${WRKSRC}/build/make/version.sh
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vpx*



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