summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild')
-rw-r--r--gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild b/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
index d224b408e9f7..5bb7ad87229a 100644
--- a/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
+++ b/gui-libs/eglexternalplatform/eglexternalplatform-1.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DESCRIPTION="EGL External Platform interface"
HOMEPAGE="https://github.com/NVIDIA/eglexternalplatform"
@@ -13,7 +13,8 @@ KEYWORDS="amd64"
src_prepare() {
default
- sed -i "/^inc/s@=@=${EPREFIX}@" eglexternalplatform.pc || die
+
+ use !prefix || sed -i "/^inc/s|=|=${EPREFIX}|" eglexternalplatform.pc || die
}
src_install() {