I'm using Portage 2.0.51.22-r2 The check_license function failed to find the license. After changing something in the eutils file it works fine. Here is the corrected part of the check_license() function: <check_license()> if [ -z "${lic}" ] ; then lic="${PORTDIR}/licenses/${LICENSE}" else if [ -e "${PORTDIR}/licenses/${lic}" ] ; then lic="${PORTDIR}/licenses/${lic}" elif [ -e "${PWD}/${lic}" ] ; then lic="${PWD}/${lic}" elif [ -e "${lic}" ] ; then lic="${lic}" fi fi [ ! -f "${lic}" ] && die "Could not find requested license ${lic}" </check_license()> In the original sourcecode there is instead of ${lic} ${src} in many places. I don't know if all my replacement's are neccesary, but I know that check_license can find the license with this version.
Not a portage bug, goes to the eclass authors
the code you posted is already in eutils.eclass no real info here though as to what the bug is
err, the die message is different (you correctly use $lic instead of $src), but otherwise the code appears to be the same
actually i see your point in the future, post a diff, otherwise it's hard to figure out what's changed
Fixed in CVS... guess I missed one when I changed them...