summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaka Kranjc2006-06-25 11:11:23 +0200
committerJaka Kranjc2006-06-25 11:17:21 +0200
commit3bb0470ceaa407fc5a5b0699d8d5cccb658ba7d0 (patch)
tree3d2e2b8b36ab2a5fb0329eece3190ebfe700bbfb
parent6877646992df5966a29b5f812b20330800ae933c (diff)
kdelibs: fix PRE_SUB_DEPENDS #12747
-rw-r--r--kde-core/kdelibs/HISTORY3
-rwxr-xr-xkde-core/kdelibs/PRE_SUB_DEPENDS6
2 files changed, 6 insertions, 3 deletions
diff --git a/kde-core/kdelibs/HISTORY b/kde-core/kdelibs/HISTORY
index ec0a0ccd6b..29cf620ec0 100644
--- a/kde-core/kdelibs/HISTORY
+++ b/kde-core/kdelibs/HISTORY
@@ -1,3 +1,6 @@
+2006-06-25 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
+ * PRE_SUB_DEPENDS: added missing returns, #12747
+
2006-06-25 George Sherwood <george@beernabeer.com>
* DEPENDS: changed cups to cups-old. kde doesn't work with 1.2.x
diff --git a/kde-core/kdelibs/PRE_SUB_DEPENDS b/kde-core/kdelibs/PRE_SUB_DEPENDS
index 8bc11f4c1c..9839dc81f4 100755
--- a/kde-core/kdelibs/PRE_SUB_DEPENDS
+++ b/kde-core/kdelibs/PRE_SUB_DEPENDS
@@ -1,6 +1,6 @@
case $THIS_SUB_DEPENDS in
- SVG) is_depends_enabled $SPELL libart_lgpl;;
- SSL) is_depends_enabled $SPELL openssl;;
- ARTS) is_depends_enabled $SPELL arts;;
+ SVG) is_depends_enabled $SPELL libart_lgpl && return 0;;
+ SSL) is_depends_enabled $SPELL openssl && return 0;;
+ ARTS) is_depends_enabled $SPELL arts && return 0;;
esac
return 1