diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-01-18 14:14:36 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-01-18 14:17:57 +0900 |
commit | f0fabf890886dab370d14e091e97de28db01c200 (patch) | |
tree | 7b11719c1b9d60b3092fcb3cbb028593258f16cb /media-libs/glew | |
parent | x11-wm/xpra: support Prefix again. (diff) | |
download | gentoo-f0fabf890886dab370d14e091e97de28db01c200.tar.gz gentoo-f0fabf890886dab370d14e091e97de28db01c200.tar.bz2 gentoo-f0fabf890886dab370d14e091e97de28db01c200.zip |
media-libs/glew: define GLEW_PREFIX to be used in glew.pc.
This makes glew.pc Prefix-aware.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-libs/glew')
-rw-r--r-- | media-libs/glew/glew-2.1.0.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media-libs/glew/glew-2.1.0.ebuild b/media-libs/glew/glew-2.1.0.ebuild index 3ddebf5f8301..f003f13e40c6 100644 --- a/media-libs/glew/glew-2.1.0.ebuild +++ b/media-libs/glew/glew-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -78,6 +78,7 @@ set_opts() { multilib_src_compile() { set_opts emake \ + GLEW_PREFIX="${EPREFIX}/usr" \ GLEW_DEST="${EPREFIX}/usr" \ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ "${myglewopts[@]}" |