summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-01-18 14:14:36 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-01-18 14:17:57 +0900
commitf0fabf890886dab370d14e091e97de28db01c200 (patch)
tree7b11719c1b9d60b3092fcb3cbb028593258f16cb /media-libs/glew
parentx11-wm/xpra: support Prefix again. (diff)
downloadgentoo-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.ebuild3
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 3ddebf5f830..f003f13e40c 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[@]}"