aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn-auth-ldap
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-11-20 06:30:53 +0800
committerpav <pav@FreeBSD.org>2010-11-20 06:30:53 +0800
commitd74ad191eb0a3577898f2f222f94890e7c028058 (patch)
treedab03c8c9089ff5fc00a7c983048cc3255f5ebf5 /security/openvpn-auth-ldap
parentc1d8ec4073d00cff0e80d130a6432b427be89ff7 (diff)
downloadfreebsd-ports-gnome-d74ad191eb0a3577898f2f222f94890e7c028058.tar.gz
freebsd-ports-gnome-d74ad191eb0a3577898f2f222f94890e7c028058.tar.zst
freebsd-ports-gnome-d74ad191eb0a3577898f2f222f94890e7c028058.zip
- Try creatively to prevent this from failing on pointyhat
Reported by: pointyhat
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>