Restore the canonical order of installing run-depends before the parent

This commit is contained in:
Doug Barton 2008-01-04 10:29:57 +00:00
parent a262eeb758
commit 35c962ef45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204976

View file

@ -1773,9 +1773,17 @@ fi
# In case we went elsewhere to create a backup package
cd $pd/$portdir
# Do the install here in case a run dependency has a build dependency on us.
if [ -z "$RECURSE_THOROUGH" -a ! -e "$NO_DEP_UPDATES" ]; then
echo ''
echo "===>>> Starting check for runtime dependencies"
dependency_check run-depends-list
fi
# In case we went elsewhere in the dependency check
cd $pd/$portdir
# Defining NO_DEPENDS ensures that we will control the installation of the
# run depends, not bsd.port.mk.
# depends, not bsd.port.mk.
make -DNO_DEPENDS $PM_MAKE_ARGS install || {
if [ -z "$NO_BACKUP" -a -n "$upg_port" ]; then
echo ''
@ -1812,15 +1820,6 @@ if [ ! "$allfiles" = ' ' ]; then
done
fi
if [ -z "$RECURSE_THOROUGH" -a ! -e "$NO_DEP_UPDATES" ]; then
echo ''
echo "===>>> Starting check for runtime dependencies"
dependency_check run-depends-list
fi
# In case we went elsewhere in the dependency check
cd $pd/$portdir
if [ -n "$MAKE_PACKAGE" ]; then
echo "===>>> Creating a package for new version $new_port"
make $PM_MAKE_ARGS package || fail 'Package creation of new port failed'