svn commit: r492309 - head/multimedia/libvpx

Jan Beich jbeich at FreeBSD.org
Wed Feb 6 15:57:27 UTC 2019


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*


More information about the svn-ports-head mailing list