Remove support for lzo-1.

This commit is contained in:
Matthias Andree 2011-05-11 09:20:45 +00:00
parent 2a025d13d0
commit 727cbc4c26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273948

View file

@ -56,15 +56,7 @@ pre-configure:
@${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