SirDice said:If you use portmaster something like this will do the trick:
# portmaster -r gettext -x gettext
# portmaster -r gettext -x gettext
===>>> Currently installed version: gettext-0.18
===>>> Port directory: /usr/ports/devel/gettext
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for devel/gettext in background
===>>> Gathering dependency list for devel/gettext from ports
===>>> Starting recursive 'make config' check
===>>> Recursive 'make config' check complete for devel/gettext
===>>> Checking ports that depend on gettext-0.18
===>>> Launching child to update bash-4.1.5_2
gettext-0.18 >> bash-4.1.5_2
===>>> Done checking ports that depend on gettext-0.18
===>>> The following actions will be taken if you choose to proceed:
Upgrade gettext-0.18 to gettext-0.18_1
Re-install bash-4.1.5_2
<etc>
cp -iv /usr/local/lib/libintl.so.8 /usr/local/lib/compat
/bin/rm -v /usr/local/lib/libinitl.so.8
cd /usr/ports/shells/bash
/bin/rm -rf work
pkg_delete -f /var/db/pkg/bash-[number] && make install
jb_fvwm2 said:And the ultimate aim?
1... backup v8, install v9, upgrade dep, deinstall 9
.... restore v8
2... rename v8 to v9, upgrade, rename v9 to v8
3... ???
The issue seems to be the aim of upgrading dependencies
without the port itself. I cannot think of a reason why
one would want to do so, however, there would be usually
multiple (not easy) ways. Someone posting a more
informative answer may want much more information.
jb_fvwm2 said:Ah, php5, maybe see the long recent threads in
the freebsd-questions list. Way more complex
than my answer. And still no information about
which explicit ports you want to (upgrade) and
(ignore upgrade). Also, see UPDATING re:
libtool
php
libtool: link: unknown library version type `freebsd-'
That's interesting - may have to look into that.You could use the
+REQUIRED_BY from /gettext-/ in /var/db/pkg,
(after pkgdb -u ; pkgdb -F) *maybe* as fed to
portmaster (example at bottom of its man page). Though I say
maybe because no time to think here about
whether it would work without error or unwanted effect.
make delete-old
from single-user mode either ....