summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openvpn-auth-ldap/Makefile3
-rw-r--r--security/openvpn-auth-ldap/files/patch-aclocal.m42
2 files changed, 2 insertions, 3 deletions
diff --git a/security/openvpn-auth-ldap/Makefile b/security/openvpn-auth-ldap/Makefile
index 57d8c3bcfd2c..933340775845 100644
--- a/security/openvpn-auth-ldap/Makefile
+++ b/security/openvpn-auth-ldap/Makefile
@@ -18,10 +18,9 @@ BUILD_DEPENDS= re2c:devel/re2c \
${NONEXISTENT}:security/openvpn:extract \
check>=0:devel/check
-USES= objc tar:xz
+USES= autoreconf objc tar:xz
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf autoheader
USE_OPENLDAP= yes
OPENVPN_WRKSRC= `cd ${PORTSDIR}/security/openvpn; make -V WRKSRC`
CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \
diff --git a/security/openvpn-auth-ldap/files/patch-aclocal.m4 b/security/openvpn-auth-ldap/files/patch-aclocal.m4
index abb2b1de74c4..66a76c220668 100644
--- a/security/openvpn-auth-ldap/files/patch-aclocal.m4
+++ b/security/openvpn-auth-ldap/files/patch-aclocal.m4
@@ -4,7 +4,7 @@
AC_CACHE_VAL(od_cv_openvpn, [
AC_LINK_IFELSE([
AC_LANG_PROGRAM([
-+ #include <sys/types.h>
++ #include <stddef.h>
#include <openvpn-plugin.h>
], [
int flag = OPENVPN_PLUGIN_UP;