aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libvpx
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-02-06 15:57:26 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-02-06 15:57:26 +0000
commit977506a4e82bc92520f3db585b4a793e2190b23b (patch)
tree7c8eb00e2f02a4674e88c4d3da2068fae25fe4bc /multimedia/libvpx
parent78ee72403a0a19ba351ef029cbf2d9bb3a11b578 (diff)
downloadports-977506a4e82bc92520f3db585b4a793e2190b23b.tar.gz
ports-977506a4e82bc92520f3db585b4a793e2190b23b.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
Notes
Notes: svn path=/head/; revision=492309
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*