summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-05-26 13:20:28 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-05-26 13:20:42 +0200
commit18a9646e70a7d5d3d57482202883a755d56933d9 (patch)
tree8a39871e17ec65dd271629b49f22b49f5e29ab31 /media-libs/opus
parentdev-python/pytest-3.0.7-r0: add ~alpha keyword (diff)
downloadgentoo-18a9646e70a7d5d3d57482202883a755d56933d9.tar.gz
gentoo-18a9646e70a7d5d3d57482202883a755d56933d9.tar.bz2
gentoo-18a9646e70a7d5d3d57482202883a755d56933d9.zip
media-libs/opus: Fixed version string in pkgconfig file.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-libs/opus')
-rw-r--r--media-libs/opus/opus-1.2_beta.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-libs/opus/opus-1.2_beta.ebuild b/media-libs/opus/opus-1.2_beta.ebuild
index 56f6b59a7f8f..f863dd1233f7 100644
--- a/media-libs/opus/opus-1.2_beta.ebuild
+++ b/media-libs/opus/opus-1.2_beta.ebuild
@@ -28,6 +28,11 @@ S="${WORKDIR}/${P/_/-}"
src_prepare() {
default
+
+ if [[ ! -f package_version ]] ; then
+ echo "PACKAGE_VERSION=\"${PV/_/-}\"" > package_version
+ fi
+
eautoreconf
}