commit:     90581d54dac720e4e093deccaa4da3ed2bf2c074
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  6 11:10:18 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 11:10:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90581d54

x11-wm/herbstluftwm: Export PKG_CONFIG

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild | 18 ++++++++++++------
 x11-wm/herbstluftwm/herbstluftwm-9999.ebuild     | 18 ++++++++++++------
 2 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild 
b/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild
index 9fe9d04ef46..c68ba3acf29 100644
--- a/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild
+++ b/x11-wm/herbstluftwm/herbstluftwm-0.7.2-r1.ebuild
@@ -21,17 +21,23 @@ LICENSE="BSD-2"
 SLOT="0"
 IUSE="examples xinerama zsh-completion"
 
-DEPEND=">=dev-libs/glib-2.24:2
+DEPEND="
+       >=dev-libs/glib-2.24:2
        x11-libs/libX11
        x11-libs/libXext
-       xinerama? ( x11-libs/libXinerama )"
-RDEPEND="${DEPEND}
+       xinerama? ( x11-libs/libXinerama )
+"
+RDEPEND="
+       ${DEPEND}
        app-shells/bash
-       zsh-completion? ( app-shells/zsh )"
-BDEPEND+=" virtual/pkgconfig"
+       zsh-completion? ( app-shells/zsh )
+"
+BDEPEND+="
+       virtual/pkgconfig
+"
 
 src_compile() {
-       tc-export CC LD CXX
+       tc-export CC CXX LD PKG_CONFIG
 
        emake LDXX="$(tc-getCXX)" COLOR=0 VERBOSE= \
                $(use xinerama || echo XINERAMAFLAGS= XINERAMALIBS= )

diff --git a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild 
b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild
index 9fe9d04ef46..c68ba3acf29 100644
--- a/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild
+++ b/x11-wm/herbstluftwm/herbstluftwm-9999.ebuild
@@ -21,17 +21,23 @@ LICENSE="BSD-2"
 SLOT="0"
 IUSE="examples xinerama zsh-completion"
 
-DEPEND=">=dev-libs/glib-2.24:2
+DEPEND="
+       >=dev-libs/glib-2.24:2
        x11-libs/libX11
        x11-libs/libXext
-       xinerama? ( x11-libs/libXinerama )"
-RDEPEND="${DEPEND}
+       xinerama? ( x11-libs/libXinerama )
+"
+RDEPEND="
+       ${DEPEND}
        app-shells/bash
-       zsh-completion? ( app-shells/zsh )"
-BDEPEND+=" virtual/pkgconfig"
+       zsh-completion? ( app-shells/zsh )
+"
+BDEPEND+="
+       virtual/pkgconfig
+"
 
 src_compile() {
-       tc-export CC LD CXX
+       tc-export CC CXX LD PKG_CONFIG
 
        emake LDXX="$(tc-getCXX)" COLOR=0 VERBOSE= \
                $(use xinerama || echo XINERAMAFLAGS= XINERAMALIBS= )

Reply via email to