diff options
-rw-r--r-- | net-mgmt/klg/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/klg/Makefile b/net-mgmt/klg/Makefile index 3858eaa66b7f..7daf3840bb46 100644 --- a/net-mgmt/klg/Makefile +++ b/net-mgmt/klg/Makefile @@ -37,7 +37,11 @@ SSH2_DESC= SSH2 support for router access .include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MSSH2} +. if ${PHP_VER} < 70 +RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/ssh2.so:security/pecl-ssh2-0@${PHP_FLAVOR} +. else RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/ssh2.so:security/pecl-ssh2@${PHP_FLAVOR} +. endif .endif do-install: |