commit:     3b6864f38b6121ce01254e367dbd44cd3e9838a2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  3 09:55:26 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jul  3 09:55:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6864f3

sys-auth/pambase: Fix USE="native-symlinks"

Closes: https://bugs.gentoo.org/719212
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Suggested-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-auth/pambase/pambase-20190402.ebuild | 5 ++++-
 sys-auth/pambase/pambase-20191128.ebuild | 5 ++++-
 sys-auth/pambase/pambase-20200304.ebuild | 5 ++++-
 sys-auth/pambase/pambase-20200618.ebuild | 5 ++++-
 4 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/sys-auth/pambase/pambase-20190402.ebuild 
b/sys-auth/pambase/pambase-20190402.ebuild
index 561f79c02e7..6f2cd170ef2 100644
--- a/sys-auth/pambase/pambase-20190402.ebuild
+++ b/sys-auth/pambase/pambase-20190402.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="PAM base configuration files"
 HOMEPAGE="https://github.com/gentoo/pambase";
 SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz";
@@ -62,6 +64,7 @@ src_compile() {
 
        emake \
                GIT=true \
+               CPP="$(tc-getPROG CPP cpp)" \
                $(use_var debug) \
                $(use_var cracklib) \
                $(use_var passwdqc) \
@@ -83,5 +86,5 @@ src_compile() {
 src_test() { :; }
 
 src_install() {
-       emake GIT=true DESTDIR="${ED}" install
+       emake GIT=true CPP="$(tc-getPROG CPP cpp)" DESTDIR="${ED}" install
 }

diff --git a/sys-auth/pambase/pambase-20191128.ebuild 
b/sys-auth/pambase/pambase-20191128.ebuild
index c2f09b9e78a..999ff2a32d5 100644
--- a/sys-auth/pambase/pambase-20191128.ebuild
+++ b/sys-auth/pambase/pambase-20191128.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="PAM base configuration files"
 HOMEPAGE="https://github.com/gentoo/pambase";
 SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz";
@@ -58,6 +60,7 @@ src_compile() {
 
        emake \
                GIT=true \
+               CPP="$(tc-getPROG CPP cpp)" \
                $(use_var debug) \
                $(use_var LIBCAP caps) \
                $(use_var cracklib) \
@@ -79,5 +82,5 @@ src_compile() {
 src_test() { :; }
 
 src_install() {
-       emake GIT=true DESTDIR="${ED}" install
+       emake GIT=true CPP="$(tc-getPROG CPP cpp)" DESTDIR="${ED}" install
 }

diff --git a/sys-auth/pambase/pambase-20200304.ebuild 
b/sys-auth/pambase/pambase-20200304.ebuild
index c2f09b9e78a..999ff2a32d5 100644
--- a/sys-auth/pambase/pambase-20200304.ebuild
+++ b/sys-auth/pambase/pambase-20200304.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="PAM base configuration files"
 HOMEPAGE="https://github.com/gentoo/pambase";
 SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz";
@@ -58,6 +60,7 @@ src_compile() {
 
        emake \
                GIT=true \
+               CPP="$(tc-getPROG CPP cpp)" \
                $(use_var debug) \
                $(use_var LIBCAP caps) \
                $(use_var cracklib) \
@@ -79,5 +82,5 @@ src_compile() {
 src_test() { :; }
 
 src_install() {
-       emake GIT=true DESTDIR="${ED}" install
+       emake GIT=true CPP="$(tc-getPROG CPP cpp)" DESTDIR="${ED}" install
 }

diff --git a/sys-auth/pambase/pambase-20200618.ebuild 
b/sys-auth/pambase/pambase-20200618.ebuild
index 5f9cdff6bc2..2be0b99f044 100644
--- a/sys-auth/pambase/pambase-20200618.ebuild
+++ b/sys-auth/pambase/pambase-20200618.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="PAM base configuration files"
 HOMEPAGE="https://github.com/gentoo/pambase";
 SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz";
@@ -57,6 +59,7 @@ src_compile() {
 
        emake \
                GIT=true \
+               CPP="$(tc-getPROG CPP cpp)" \
                $(use_var debug) \
                $(use_var LIBCAP caps) \
                $(use_var passwdqc) \
@@ -77,5 +80,5 @@ src_compile() {
 src_test() { :; }
 
 src_install() {
-       emake GIT=true DESTDIR="${ED}" install
+       emake GIT=true CPP="$(tc-getPROG CPP cpp)" DESTDIR="${ED}" install
 }

Reply via email to