Lines 381-387
Link Here
|
381 |
echo 'FETCHCOMMAND="bash -c \"echo I need \${FILE} from \${URI} in \${DISTDIR}; read\""' |
381 |
echo 'FETCHCOMMAND="bash -c \"echo I need \${FILE} from \${URI} in \${DISTDIR}; read\""' |
382 |
if [[ ${compiler_type} == clang ]] ; then |
382 |
if [[ ${compiler_type} == clang ]] ; then |
383 |
local ptrgs=$(sed -n 's/^PYTHON_TARGETS="\([^"]\+\)".*$/\1/' \ |
383 |
local ptrgs=$(sed -n 's/^PYTHON_TARGETS="\([^"]\+\)".*$/\1/' \ |
384 |
"${PORTDIR}"/profiles/prefix/make.conf) |
384 |
"${PORTDIR}"/profiles/prefix/make.defaults) |
385 |
ptrgs=${ptrgs/-python2_7/} |
385 |
ptrgs=${ptrgs/-python2_7/} |
386 |
echo "# python2 is required by sys-devel/clang-6" |
386 |
echo "# python2 is required by sys-devel/clang-6" |
387 |
echo "PYTHON_TARGETS=\"python2_7 ${ptrgs}\"" |
387 |
echo "PYTHON_TARGETS=\"python2_7 ${ptrgs}\"" |