aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn-auth-ldap
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-11-19 22:30:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-11-19 22:30:53 +0000
commit12c3d91bc6841a84ecbfdf9b5abeb445a852c671 (patch)
tree71b6bd0f22028956aeecd8cfaa2a633b8bc71bea /security/openvpn-auth-ldap
parentc2c6dd75a0ba22dd9e92575976aea9033e87edd6 (diff)
downloadports-12c3d91bc6841a84ecbfdf9b5abeb445a852c671.tar.gz
ports-12c3d91bc6841a84ecbfdf9b5abeb445a852c671.zip
Notes
Diffstat (limited to 'security/openvpn-auth-ldap')
-rw-r--r--security/openvpn-auth-ldap/Makefile8
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>