diff options
Diffstat (limited to 'security/openvpn-auth-ldap')
-rw-r--r-- | security/openvpn-auth-ldap/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/openvpn-auth-ldap/Makefile b/security/openvpn-auth-ldap/Makefile index 0e0b6ba78abe..d6efa6ca0e00 100644 --- a/security/openvpn-auth-ldap/Makefile +++ b/security/openvpn-auth-ldap/Makefile @@ -27,6 +27,12 @@ PORTDOCS= README PORTEXAMPLES= auth-ldap.conf PLIST_FILES= lib/openvpn-auth-ldap.so +.include <bsd.port.pre.mk> + +.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 +BUILD_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} @@ -37,4 +43,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/auth-ldap.conf ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |