diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-02-06 15:57:26 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-02-06 15:57:26 +0000 |
commit | 977506a4e82bc92520f3db585b4a793e2190b23b (patch) | |
tree | 7c8eb00e2f02a4674e88c4d3da2068fae25fe4bc /multimedia/libvpx | |
parent | 78ee72403a0a19ba351ef029cbf2d9bb3a11b578 (diff) | |
download | ports-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/Makefile | 3 |
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* |