diff options
author | pav <pav@FreeBSD.org> | 2010-11-20 06:30:53 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2010-11-20 06:30:53 +0800 |
commit | d74ad191eb0a3577898f2f222f94890e7c028058 (patch) | |
tree | dab03c8c9089ff5fc00a7c983048cc3255f5ebf5 /security/openvpn-auth-ldap | |
parent | c1d8ec4073d00cff0e80d130a6432b427be89ff7 (diff) | |
download | freebsd-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/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> |