media-fonts/mplus-outline-fonts-0_pre043 fails to emerge with USE=ipafont on x86-macos. The error is: >>> Preparing source in /Users/tetsushi/Gentoo/var/tmp/portage/media-fonts/mplus-outline-fonts-0_pre043/work/mplus-TESTFLIGHT-043 ... cp: `/usr/share/fonts/ja-ipafonts/ipag.ttf' を stat できません: No such file or directory It is obvious that the problem is caused by path that is not prefixed. If I change the ebuild as follows, it successfully emerges. @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-fonts/mplus-outline-fonts/mplus-outline-fonts-0_pre043.ebuild,v 1.1 2011/09/30 15:17:38 matsuu Exp $ -EAPI="2" +EAPI="3" inherit font MY_P="mplus-${PV/0_pre/TESTFLIGHT-}" @@ -30,7 +30,7 @@ RESTRICT="strip binchecks" -IPAFONT_DIR="/usr/share/fonts/ja-ipafonts" +IPAFONT_DIR="${EPREFIX}/usr/share/fonts/ja-ipafonts" src_prepare() { if use ipafont ; then
thanks, I applied your patch