svn commit: r440979 - head/security/openvpn-auth-ldap

Matthias Andree mandree at FreeBSD.org
Mon May 15 22:22:51 UTC 2017


Author: mandree
Date: Mon May 15 22:22:50 2017
New Revision: 440979
URL: https://svnweb.freebsd.org/changeset/ports/440979

Log:
  No longer depend on OpenVPN sources.
  
  OpenVPN 2.3.0 and newer have installed the openvpn-plugin.h file.
  Cease requiring and extracting the source tarball to obtain this file
  (as we used to do with 2.2.x and older).

Modified:
  head/security/openvpn-auth-ldap/Makefile

Modified: head/security/openvpn-auth-ldap/Makefile
==============================================================================
--- head/security/openvpn-auth-ldap/Makefile	Mon May 15 22:05:46 2017	(r440978)
+++ head/security/openvpn-auth-ldap/Makefile	Mon May 15 22:22:50 2017	(r440979)
@@ -15,16 +15,15 @@ COMMENT=	LDAP authentication plugin for 
 LICENSE=	BSD3CLAUSE
 
 BUILD_DEPENDS=	re2c:devel/re2c \
-		${NONEXISTENT}:security/openvpn:extract \
-		check>=0:devel/check
+		check>=0:devel/check \
+		${LOCALBASE}/include/openvpn-plugin.h:security/openvpn
 
 USES=		autoreconf objc tar:xz
 
 GNU_CONFIGURE=	yes
 USE_OPENLDAP=	yes
-OPENVPN_WRKSRC=	`cd ${PORTSDIR}/security/openvpn; make -V WRKSRC`
 CONFIGURE_ARGS+=	--with-openldap=${LOCALBASE} \
-			--with-openvpn=${OPENVPN_WRKSRC}/include \
+			--with-openvpn=${LOCALBASE}/include \
 			--with-objc-runtime=GNU
 
 PORTDOCS=	README


More information about the svn-ports-all mailing list