Don't forget to set make_cmd if not set in install_src_phase().

--HG--
extra : convert_revision : 17ce248ae1de31b1c0a73b4cf584f2b7356befad
This commit is contained in:
Juan RP 2008-10-21 06:43:29 +02:00
parent e556f891a2
commit ce4faacc60

View file

@ -853,6 +853,7 @@ install_src_phase()
[ -z $pkg ] && [ -z $pkgname ] && return 1
[ -z "$make_install_target" ] && make_install_target=install
[ -z "$make_cmd" ] && make_cmd=/usr/bin/make
#
# There's nothing we can do if we are a meta template.
@ -874,7 +875,7 @@ install_src_phase()
#
# Install package via make.
#
${make_cmd} ${make_install_args} ${make_install_target} \
${make_cmd} ${make_install_target} ${make_install_args} \
${make_install_prefix}
if [ "$?" -ne 0 ]; then
echo "*** ERROR installing $pkgname-$version ***"