New commits:
commit 122846a6823bb825921a41f45aa2bf36d5438edf
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
binutils: fixed migration for spells that require libbfd
commit 845d02a8bc87ba87b114c21cce557f85536d2795
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
cairo: added binutils optional dependency
diff --git a/devel/binutils/HISTORY b/devel/binutils/HISTORY
index 2b85ca5..e2a0913 100644
--- a/devel/binutils/HISTORY
+++ b/devel/binutils/HISTORY
@@ -1,8 +1,11 @@
+2013-06-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * UP_TRIGGERS: added, to fix migration for spells that require libbfd
+
2013-05-10 Remko van der Vossen <wich AT sourcemage.org>
* BUILD: temporary workaround for build failure with current texinfo
2013-03-28 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 2.23.2
diff --git a/devel/binutils/UP_TRIGGERS b/devel/binutils/UP_TRIGGERS
new file mode 100755
index 0000000..793a51a
--- /dev/null
+++ b/devel/binutils/UP_TRIGGERS
@@ -0,0 +1,17 @@
+# up_trigger everything on version updates
+local OLD_SPELL_VERSION="" &&
+
+if spell_ok $SPELL; then
+ OLD_SPELL_VERSION="$(installed_version $SPELL)" &&
+
+ if test "${VERSION}" != "${OLD_SPELL_VERSION}"; 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.*libbfd-"; then
+ up_trigger $each cast_self
+ fi
+ done
+ fi
+fi
diff --git a/x11-libs/cairo/DEPENDS b/x11-libs/cairo/DEPENDS
index c889f44..b3063c6 100755
--- a/x11-libs/cairo/DEPENDS
+++ b/x11-libs/cairo/DEPENDS
@@ -14,6 +14,12 @@ optional_depends zlib \
"--disable-xml" \
"for XML surface backend" &&