Signed-off-by: James Le Cuirot <[email protected]>
---
 sys-apps/baselayout/baselayout-9999.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sys-apps/baselayout/baselayout-9999.ebuild 
b/sys-apps/baselayout/baselayout-9999.ebuild
index 8be27c569375..79bf8dde0346 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit multilib prefix
+inherit branding multilib prefix
 
 DESCRIPTION="Filesystem baselayout and init scripts"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage";
@@ -248,6 +248,11 @@ src_prepare() {
        echo "LDPATH='${ldpaths#:}'" >> etc/env.d/50baselayout
 }
 
+src_configure() {
+       # Expose the branding variables to the build.
+       export ${!OS_*}
+}
+
 src_install() {
        emake \
                DESTDIR="${ED}" \
-- 
2.51.2


Reply via email to