summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaka Kranjc2008-10-14 13:29:33 +0200
committerJaka Kranjc2008-10-14 13:29:33 +0200
commit051df24ab35e7e2c7ee8427b3b34829799be7417 (patch)
treefaded6614f70271e5139839904043ed49eebed22
parent2bdbd07ad9ff09110302efdadc22d7e66a4bcbcf (diff)
cairo: repairing the previous subdeps
(cherry-picked from commit ce3a733f7ce000ef3e20c1a6b68d442700928ddc)
-rw-r--r--x11-libs/cairo/HISTORY1
-rwxr-xr-xx11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS7
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-libs/cairo/HISTORY b/x11-libs/cairo/HISTORY
index 2264b49adc..a39f36b60a 100644
--- a/x11-libs/cairo/HISTORY
+++ b/x11-libs/cairo/HISTORY
@@ -1,5 +1,6 @@
2008-10-13 Vlad Glagolev <stealth@sourcemage.org>
* [PRE_]SUB_DEPENDS: added ps subdep for new gtk+2
+ * REPAIR^all^PRE_SUB_DEPENDS: added, for repairing the previous subdeps
2008-10-06 Arjan Bouter <abouter@sourcemage.org>
* SUB_DEPENDS, PRE_SUB_DEPENDS: added XCB
diff --git a/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS b/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..4aba94b65c
--- /dev/null
+++ b/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
@@ -0,0 +1,7 @@
+case $THIS_SUB_DEPENDS in
+ PDF) is_depends_enabled $SPELL poppler;;
+ XCB) is_depends_enabled $SPELL xcb-util;;
+ PS) is_depends_enabled $SPELL ghostscript;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac