aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2011-07-26 03:47:12 +0800
committermandree <mandree@FreeBSD.org>2011-07-26 03:47:12 +0800
commitab88bf975bff1240a912e82edcb413ba5e8601f4 (patch)
tree38a1c2d4bdeb9b047e2c896387c52dd5641c42d8 /security
parent553007f251fc31a009a0b156c43ad213f70c4143 (diff)
downloadfreebsd-ports-gnome-ab88bf975bff1240a912e82edcb413ba5e8601f4.tar.gz
freebsd-ports-gnome-ab88bf975bff1240a912e82edcb413ba5e8601f4.tar.zst
freebsd-ports-gnome-ab88bf975bff1240a912e82edcb413ba5e8601f4.zip
archivers/lzo was removed, remove support for it.
Diffstat (limited to 'security')
-rw-r--r--security/openvpn20/Makefile12
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