[Lunar-commits] <moonbase-core> wget: let lunar internals handle aliases expansion
Stefan Wold
ratler at lunar-linux.org
Thu Aug 7 19:56:05 CEST 2014
commit 1706026ff7350acac1d014d0820f0b82f589710a
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 07 Aug 2014 19:55:33 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/1706026ff7350acac1d014d0820f0b82f589710a
wget: let lunar internals handle aliases expansion
---
ftp/wget/BUILD | +2/-5
1 file changed, 2 insertions(+), 5 deletions(-)
--- a/ftp/wget/BUILD
+++ b/ftp/wget/BUILD
@@ -1,10 +1,7 @@
- # get the alias
- SSL=`unalias %SSL` &&
-
# setting the ssl option
- if [[ $SSL == "openssl" ]] && module_installed "openssl" ; then
+ if in_depends $MODULE openssl && module_installed "openssl" ; then
OPTS+=" --with-ssl=openssl"
- elif [[ $SSL == "gnutls" ]] && module_installed "gnutls" ; then
+ elif in_depends $MODULE gnutls && module_installed "gnutls" ; then
OPTS+=" --with-ssl"
else
OPTS+=" --without-ssl"
More information about the Lunar-commits
mailing list