From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/crossdev:master commit in: wrappers/site/, wrappers/
Date: Sat, 20 Oct 2018 20:08:29 +0000 (UTC) [thread overview]
Message-ID: <1540063073.bd54f7ece1a03a406cbd3789f0dc2fd6f1742efc.slyfox@gentoo> (raw)
commit: bd54f7ece1a03a406cbd3789f0dc2fd6f1742efc
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 20 19:17:53 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Oct 20 19:17:53 2018 +0000
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=bd54f7ec
wrappers/Makefile: rename TOPDIR to SITEDIR
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
wrappers/Makefile | 8 ++++----
wrappers/site/config.site | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/wrappers/Makefile b/wrappers/Makefile
index 7cbe72f..4aee778 100644
--- a/wrappers/Makefile
+++ b/wrappers/Makefile
@@ -5,12 +5,12 @@ include ../settings.mk
PORTDIR ?= $(shell portageq envvar PORTDIR)
FNAMES = cross-emerge cross-fix-root cross-pkg-config emerge-wrapper
-SITE = $(PREFIX)/share/crossdev/include/site
+SITEDIR = $(PREFIX)/share/crossdev/include/site
all:
install:
- $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin/ $(DESTDIR)$(SITE)
+ $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin/ $(DESTDIR)$(SITEDIR)
$(INSTALL_EXEC) $(FNAMES) $(DESTDIR)$(PREFIX)/bin/
sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/cross-emerge
sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/emerge-wrapper
@@ -18,8 +18,8 @@ install:
sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/share/crossdev/etc/portage/make.conf
cp -a site $(DESTDIR)$(PREFIX)/share/crossdev/include/
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/
+ sed -i -e s:@SITEDIR@:$(SITEDIR):g $(DESTDIR)$(SITEDIR)/config.site
+ mv $(DESTDIR)$(SITEDIR)/config.site $(DESTDIR)$(PREFIX)/share/
ln -sf $(PORTDIR)/profiles/embedded $(DESTDIR)$(PREFIX)/share/crossdev/etc/portage/make.profile
.PHONY: all install
diff --git a/wrappers/site/config.site b/wrappers/site/config.site
index 44182a5..8205657 100755
--- a/wrappers/site/config.site
+++ b/wrappers/site/config.site
@@ -2,7 +2,7 @@
# Copyright 2009-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-TOPDIR="@TOPDIR@"
+SITEDIR="@SITEDIR@"
config_site_arch() {
local host="${CHOST%%-*}"
@@ -40,7 +40,7 @@ config_site_names() {
esac
for x in ${sites} ${CHOST}; do
- [ -e "${TOPDIR}/${x}" ] && echo "${TOPDIR}/${x}"
+ [ -e "${SITEDIR}/${x}" ] && echo "${SITEDIR}/${x}"
done
}
next reply other threads:[~2018-10-20 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-20 20:08 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-10-20 20:08 [gentoo-commits] proj/crossdev:master commit in: wrappers/site/, wrappers/ Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1540063073.bd54f7ece1a03a406cbd3789f0dc2fd6f1742efc.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox