Obviously, openvpn-auth-ldap was still picking up some obsolete objc
base header files in configure:
checking objc/objc.h usability... no
checking objc/objc.h presence... no
checking for objc/objc.h... no
configure: error: Can't locate Objective C runtime headers
*** Error 1
This fixes the build:
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/openvpn-auth-ldap/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile 11 Dec 2018 13:27:54 -0000 1.20
+++ Makefile 8 Apr 2019 22:04:11 -0000
@@ -3,7 +3,7 @@
COMMENT = LDAP authentication plugin for OpenVPN 2.x
VERSION = 2.0.3
-REVISION = 10
+REVISION = 11
DISTNAME = auth-ldap-${VERSION}
PKGNAME = openvpn-${DISTNAME}
CATEGORIES = net security
@@ -44,7 +44,8 @@ CONFIGURE_ARGS = --with-check=${LOCALBA
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
LD="${CC}" CXX=${CXX} OBJCPP="${CC} -E" OBJC=${CC}
-CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/gnustep"
SAMPLES_DIR = ${PREFIX}/share/examples/openvpn-auth-ldap
--
Christian "naddy" Weisgerber [email protected]