diff options
author | George Sherwood | 2011-01-02 14:05:48 -0600 |
---|---|---|
committer | George Sherwood | 2011-01-02 14:05:48 -0600 |
commit | d182859e4402908aee11e37677ab57f0019f2fb1 (patch) | |
tree | 94b99909e9bf5e9728cb7d62863804b4f1f0b938 | |
parent | 96e7241930427b993d3f604e63b264b70da39233 (diff) |
cairo: Fix PRE_SUB_DEPENDS to actually evaluate false when devel is not
used.
-rw-r--r-- | x11-libs/cairo/HISTORY | 1 | ||||
-rwxr-xr-x | x11-libs/cairo/PRE_SUB_DEPENDS | 2 | ||||
-rwxr-xr-x | x11-libs/cairo/REPAIR^all^PRE_SUB_DEPENDS | 2 |
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;; |