diff options
author | sbd <sbd> | 2012-05-20 11:14:33 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-05-20 11:14:33 +0000 |
commit | 5eccedafe7faf17dc597b7963de97a7962933094 (patch) | |
tree | 8337545b9fffd7826995802030777f03df407184 | |
parent | b7c42dff4d66e853c5d56c776a83b7df05ba2d1d (diff) | |
download | pkgsrc-5eccedafe7faf17dc597b7963de97a7962933094.tar.gz |
If /usr/bin/ssh doesn't exist add openssh depenedance.
-rw-r--r-- | sysutils/amanda-common/options.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/amanda-common/options.mk b/sysutils/amanda-common/options.mk index 292d8f4ee52..754176baf97 100644 --- a/sysutils/amanda-common/options.mk +++ b/sysutils/amanda-common/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2012/05/20 11:13:35 sbd Exp $ +# $NetBSD: options.mk,v 1.3 2012/05/20 11:14:33 sbd Exp $ # Since amanda's ipv6 usage is broken, turn it off by default. @@ -23,4 +23,11 @@ CONFIGURE_ARGS+= --with-fqdn .if !empty(PKG_OPTIONS:Mamanda-ssh) CONFIGURE_ARGS+= --with-ssh-security + +. if !exists(/usr/bin/ssh) +DEPENDS+= openssh-[0-9]*:../../security/openssh +FIND_PREFIX:= SSHPREFIX=openssh +.include "../../mk/find-prefix.mk" +CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh +. endif .endif |