summaryrefslogtreecommitdiffstats
path: root/crypto/nss/SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/nss/SUB_DEPENDS')
-rwxr-xr-xcrypto/nss/SUB_DEPENDS27
1 files changed, 18 insertions, 9 deletions
diff --git a/crypto/nss/SUB_DEPENDS b/crypto/nss/SUB_DEPENDS
index f65ca3d312..e72e2ba348 100755
--- a/crypto/nss/SUB_DEPENDS
+++ b/crypto/nss/SUB_DEPENDS
@@ -1,11 +1,20 @@
case $THIS_SUB_DEPENDS in
- 3.12.x) echo "3.12.x release needed, forcing it." &&
- NSS_BRANCH="3.12" ;;
- 3.13.x) echo "3.13.x release needed, forcing it." &&
- NSS_BRANCH="3.13" ;;
- 3.14.x) echo "3.14.x release needed, forcing it." &&
- NSS_BRANCH="3.14" ;;
- PEM) echo "nss with pem needed, forcing it." &&
- NSS_PEM="y" ;;
- *) echo "unknown sub-depends!"; return 1 ;;
+ 3.14.x) message "${MESSAGE_COLOR}3.14.x release needed, forcing it.${DEFAULT_COLOR}" &&
+ NSS_BRANCH="3.14"
+ ;;
+ 3.15.x) message "${MESSAGE_COLOR}3.15.x release needed, forcing it.${DEFAULT_COLOR}" &&
+ NSS_BRANCH="3.15"
+ ;;
+ 3.16.x) message "${MESSAGE_COLOR}3.16.x release needed, forcing it.${DEFAULT_COLOR}" &&
+ NSS_BRANCH="3.16"
+ ;;
+ 3.17.x) message "${MESSAGE_COLOR}3.17.x release needed, forcing it.${DEFAULT_COLOR}" &&
+ NSS_BRANCH="3.17"
+ ;;
+ PEM) message "${MESSAGE_COLOR}nss with PEM support needed, forcing it.${DEFAULT_COLOR}" &&
+ NSS_PEM="y"
+ ;;
+ *) message "${PROBLEM_COLOR}Unknown sub-depends!${DEFAULT_COLOR}" &&
+ return 1
+ ;;
esac