-make install-compat &&
# Preserve the links in chroot
-cd $INSTALL_ROOT/usr/lib &&
-ln -sf libgdbm.so.3.0.0 libndbm.so &&
+cd "$INSTALL_ROOT/usr/lib" &&
+ln -sf libgdbm.so.4.0.0 libndbm.so &&
ln -sf libgdbm.la libndbm.la &&
ln -sf libgdbm.a libndbm.a
diff --git a/libs/gdbm/UP_TRIGGERS b/libs/gdbm/UP_TRIGGERS
new file mode 100755
index 0000000..029cd6d
--- /dev/null
+++ b/libs/gdbm/UP_TRIGGERS
@@ -0,0 +1,15 @@
+# up_trigger everything on major version updates
+
+spell_ok $SPELL && local OLD_SPELL_VERSION="$(installed_version $SPELL)"
+
+if spell_ok $SPELL && [[ "${VERSION:2:1}" != "${OLD_SPELL_VERSION:2:1}" ]];
then
+ message "This is a possibly incompatible update of $SPELL..." &&
+ message "Figuring out what spells need to be recast, this may take a
while." &&
+
+ for each in $(show_up_depends $SPELL 1); do
+ if gaze install $each | xargs readelf -d 2> /dev/null |
+ grep -q "NEEDED.*libgdbm\.so\.3"; then
+ up_trigger $each cast_self
+ fi
+ done
+fi
diff --git a/libs/gdbm/gdbm.gpg b/libs/gdbm/gdbm.gpg
new file mode 100644
index 0000000..7124985
Binary files /dev/null and b/libs/gdbm/gdbm.gpg differ
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bd35fa90f5c73dedc8ca654f223167ea6d9e3809),
Vlad Glagolev, 08/15/2011