aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXU Benda <heroxbd@gmail.com>2011-12-22 13:37:11 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-25 22:45:04 +0900
commitd370474e3f85a3bbcbb2026ca5ec55257b7a0f39 (patch)
treef3f08abbf1b4d4aab3a9ad9d52b6351751d9eb52 /wrappers/Makefile
parentconfig.site: add musl libc support (diff)
downloadcrossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.tar.gz
crossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.tar.bz2
crossdev-d370474e3f85a3bbcbb2026ca5ec55257b7a0f39.zip
prefixify build system and scripts.
Diffstat (limited to 'wrappers/Makefile')
-rw-r--r--wrappers/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/wrappers/Makefile b/wrappers/Makefile
index 144ecc1..df5eb2b 100644
--- a/wrappers/Makefile
+++ b/wrappers/Makefile
@@ -9,6 +9,9 @@ SITE = $(PREFIX)/share/crossdev/include/site
TOPDIR =
all:
+ sed -i -e "s,@GENTOO_PORTAGE_EPREFIX@,$(EPREFIX),g" cross-emerge
+ sed -i -e "s,@GENTOO_PORTAGE_EPREFIX@,$(EPREFIX),g" emerge-wrapper
+ sed -i -e "s,@GENTOO_PORTAGE_EPREFIX@,$(EPREFIX),g" etc/portage/make.conf
install:
$(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin/ $(DESTDIR)/$(SITE)