This is where make.profile belongs in current portage
---
 wrappers/Makefile           | 2 +-
 wrappers/etc/portage/bashrc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wrappers/Makefile b/wrappers/Makefile
index eaa4115..144ecc1 100644
--- a/wrappers/Makefile
+++ b/wrappers/Makefile
@@ -18,6 +18,6 @@ install:
        sed -i -e s@__PREFIX__@$(PREFIX)@g 
$(DESTDIR)/$(PREFIX)/bin/emerge-wrapper
        sed -i -e s@__TOPDIR__@$(SITE)@g $(DESTDIR)/$(SITE)/config.site
        mv $(DESTDIR)/$(SITE)/config.site $(DESTDIR)/$(PREFIX)/share/
-       ln -sf $(PORTDIR)/profiles/embedded 
$(DESTDIR)/$(PREFIX)/share/crossdev/etc/make.profile
+       ln -sf $(PORTDIR)/profiles/embedded 
$(DESTDIR)/$(PREFIX)/share/crossdev/etc/portage/make.profile
 
 .PHONY: all install
diff --git a/wrappers/etc/portage/bashrc b/wrappers/etc/portage/bashrc
index e78b634..4ca2768 100644
--- a/wrappers/etc/portage/bashrc
+++ b/wrappers/etc/portage/bashrc
@@ -1,4 +1,4 @@
-[[ $(basename $(readlink -f $PORTAGE_CONFIGROOT/etc/make.profile)) == 
"embedded" ]] && . ${PORTDIR}/profiles/base/profile.bashrc
+[[ $(basename $(readlink -f $PORTAGE_CONFIGROOT/etc/portage/make.profile)) == 
"embedded" ]] && . ${PORTDIR}/profiles/base/profile.bashrc
 
 post_src_install() {
        [[ -d ${D} ]] || return 0        
-- 
1.8.3.2


Reply via email to