commit:     c05c832c745e2fc99c292f28b976cdae01dd8515
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 18:00:18 2020 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 18:00:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05c832c

media-libs/glm: Fix glm.pc

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index ac6c4ff427a..c144e6b5a4c 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -18,7 +18,9 @@ RESTRICT="!test? ( test )"
 RDEPEND="virtual/opengl"
 
 src_prepare() {
-       sed -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+       sed \
+               -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+               -e "s:@GLM_VERSION@:0.9.9:" \
                "${FILESDIR}"/glm.pc.in \
                > glm.pc
        cmake-utils_src_prepare

Reply via email to