1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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
This commit is contained in:
Jan Beich 2019-02-06 15:57:26 +00:00
parent 78ee72403a
commit 977506a4e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492309

View File

@ -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*