summaryrefslogtreecommitdiff
path: root/security/openvpn-auth-ldap
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2017-05-15 21:24:13 +0000
committerMatthias Andree <mandree@FreeBSD.org>2017-05-15 21:24:13 +0000
commit2bed486d22d92896fd0e5cc32c431c45bbba7bd5 (patch)
tree146f875a41a93d1cdaefad51677b74cb299d5d40 /security/openvpn-auth-ldap
parentUnbreak openvpn-plugin.h detection. (diff)
Modernize, resolving DEVELOPER=yes warnings.
While here, do not include sys/types.h but rather only stddef.h, for the openvpn-plugin.h test patch.
Notes
Notes: svn path=/head/; revision=440974
Diffstat (limited to 'security/openvpn-auth-ldap')
-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;