1. Obtain a time machine.
2. Go back in time before you updated
devel/pcre.
3. Check
/usr/ports/UPDATING, particularly entry 20120214.
Step 1 is non-trivial. In the future, always, yes always, check
/usr/ports/UPDATING first.
An emergency measure you can take is to link the current library, probably
/usr/local/lib/libpcre.so.1 to the old one, so that programs that need it to run will find and use the new version instead. This assumes that the new one works the same as the old version, which is not always true. Anyway, from memory so beware:
# ln -s /usr/local/lib/libpcre.so.1 /usr/local/lib/libpcre.so.0
Then update every port that depends on
devel/pcre:
# portmaster -r libpcre
After that is done, immediately remove the link. If left in place, it will cause problems in the future.
# rm /usr/local/lib/libpcre.so.0
After that, install
sysutils/bsdadminscripts and run
pkg_libchk(1). It will show any ports that are still missing pcre or any other library that need to be rebuilt.