summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Spitzbarth2008-08-21 19:26:31 +0200
committerMartin Spitzbarth2008-08-21 19:26:31 +0200
commit08c825f2a69f649ea69fe57426d6e6769ccc7e68 (patch)
tree00a7687d036e8d74e32d3e26de138f710be6bd1f
parent3ba1f6668a02072fcff9df3efa683d06dd4836c3 (diff)
wget: yet another fix for my b0rked attempt at sub_depends
-rw-r--r--ftp/wget/HISTORY1
-rwxr-xr-xftp/wget/REPAIR^all^PRE_SUB_DEPENDS5
2 files changed, 6 insertions, 0 deletions
diff --git a/ftp/wget/HISTORY b/ftp/wget/HISTORY
index 191f2d9b83..79359d4267 100644
--- a/ftp/wget/HISTORY
+++ b/ftp/wget/HISTORY
@@ -2,6 +2,7 @@
* SUB_DEPENDS, PRE_SUB_DEPENDS: renamed the sub_depend target
from openssl to SSL
* REPAIR^none^PRE_SUB_DEPENDS: created the file
+ * REPAIR^all^PRE_SUB_DEPENDS: created the file
2008-08-19 Martin Spitzbarth <m.spitzbarth@gmx.de>
* SUB_DEPENDS, PRE_SUB_DEPENDS: Added openssl as a sub_depend target
diff --git a/ftp/wget/REPAIR^all^PRE_SUB_DEPENDS b/ftp/wget/REPAIR^all^PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..fe1f8b92df
--- /dev/null
+++ b/ftp/wget/REPAIR^all^PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ SSL) is_depends_enabled $SPELL openssl && return 0 ;;
+ *) echo "unknown sub_depends!" ;;
+esac
+return 1