aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libvpx
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-02-06 23:57:26 +0800
committerjbeich <jbeich@FreeBSD.org>2019-02-06 23:57:26 +0800
commit9a8468aef6b1b01f5f17dcca104aeac686d2ab9c (patch)
tree7c8eb00e2f02a4674e88c4d3da2068fae25fe4bc /multimedia/libvpx
parentb3534fe8c00a492f9c8fe9271d05ab2f22fc3920 (diff)
downloadfreebsd-ports-gnome-9a8468aef6b1b01f5f17dcca104aeac686d2ab9c.tar.gz
freebsd-ports-gnome-9a8468aef6b1b01f5f17dcca104aeac686d2ab9c.tar.zst
freebsd-ports-gnome-9a8468aef6b1b01f5f17dcca104aeac686d2ab9c.zip
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
Diffstat (limited to 'multimedia/libvpx')
-rw-r--r--multimedia/libvpx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 77ed156372b6..9dc183969be2 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -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*