diff options
-rw-r--r-- | security/openvpn20/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/security/openvpn20/Makefile b/security/openvpn20/Makefile index da8cfca37758..0e619422c19b 100644 --- a/security/openvpn20/Makefile +++ b/security/openvpn20/Makefile @@ -31,6 +31,8 @@ OPTIONS= PW_SAVE "Interactive passwords may be read from a file" off USE_RC_SUBR= openvpn.sh USE_LDCONFIG= ${PREFIX}/lib +LIB_DEPENDS+= lzo2.2:${PORTSDIR}/archivers/lzo2 + SUB_FILES= pkg-message SUB_LIST+= OSVERSION=${OSVERSION} @@ -52,16 +54,6 @@ pre-fetch: @${ECHO} "" .endif -# NOTE: there is no way to explicitly specify the LZO version to OpenVPN, -# if LZO2 and LZO1 are installed, OpenVPN will pick LZO2. -# So depend on LZO1 only if it's already there and LZO2 isn't. -# PACKAGE_BUILDING will also force LZO2. -.if exists(${LOCALBASE}/lib/liblzo2.so.2) || !exists(${LOCALBASE}/lib/liblzo.so.1) || defined(PACKAGE_BUILDING) -LIB_DEPENDS+= lzo2.2:${PORTSDIR}/archivers/lzo2 -.else -LIB_DEPENDS+= lzo.1:${PORTSDIR}/archivers/lzo -.endif - .if defined(WITH_PW_SAVE) CONFIGURE_ARGS+= --enable-password-save .endif |