summaryrefslogtreecommitdiffstats
path: root/x11-libs/cairo
diff options
context:
space:
mode:
authorGeorge Sherwood2011-01-02 14:05:48 -0600
committerGeorge Sherwood2011-01-02 14:05:48 -0600
commitd182859e4402908aee11e37677ab57f0019f2fb1 (patch)
tree94b99909e9bf5e9728cb7d62863804b4f1f0b938 /x11-libs/cairo
parent96e7241930427b993d3f604e63b264b70da39233 (diff)
cairo: Fix PRE_SUB_DEPENDS to actually evaluate false when devel is not
used.
Diffstat (limited to 'x11-libs/cairo')
-rw-r--r--x11-libs/cairo/HISTORY1
-rwxr-xr-xx11-libs/cairo/PRE_SUB_DEPENDS2
-rwxr-xr-xx11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS2
3 files changed, 3 insertions, 2 deletions
diff --git a/x11-libs/cairo/HISTORY b/x11-libs/cairo/HISTORY
index 925947802a..a123e6648e 100644
--- a/x11-libs/cairo/HISTORY
+++ b/x11-libs/cairo/HISTORY
@@ -1,4 +1,5 @@
2011-01-02 George Sherwood <gsherwood@sourcemage.org>
+ * PRE_SUB_DEPENDS: Fix to work correctly
* REPAIR^all^PRE_SUB_DEPENDS: Updated to be current with
PRE_SUB_DEPENDS.
diff --git a/x11-libs/cairo/PRE_SUB_DEPENDS b/x11-libs/cairo/PRE_SUB_DEPENDS
index 75946d1b3b..b0ffc2e076 100755
--- a/x11-libs/cairo/PRE_SUB_DEPENDS
+++ b/x11-libs/cairo/PRE_SUB_DEPENDS
@@ -1,5 +1,5 @@
case $THIS_SUB_DEPENDS in
- CAIRO_DEVEL) if [[ "$CAIRO_DEVEL" == "y" ]]; then return 0; fi;;
+ CAIRO_DEVEL) [[ "$CAIRO_DEVEL" == "y" ]];;
PDF) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-pdf.h" ]];;
XCB) is_depends_enabled $SPELL xcb-util;;
PNG) is_depends_enabled $SPELL libpng;;
diff --git a/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS b/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
index 75946d1b3b..b0ffc2e076 100755
--- a/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
+++ b/x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS
@@ -1,5 +1,5 @@
case $THIS_SUB_DEPENDS in
- CAIRO_DEVEL) if [[ "$CAIRO_DEVEL" == "y" ]]; then return 0; fi;;
+ CAIRO_DEVEL) [[ "$CAIRO_DEVEL" == "y" ]];;
PDF) [[ -f "$INSTALL_ROOT/usr/include/cairo/cairo-pdf.h" ]];;
XCB) is_depends_enabled $SPELL xcb-util;;
PNG) is_depends_enabled $SPELL libpng;;