Now that clang from base is used to build openvpn-auth-ldap, the
configure script can't find -lobjc2 because it doesn't tell the linker
to look in /usr/local/lib. Instead of modifying our patches I chose to
put /usr/local/lib at the start of LIBS. With this diff,
openvpn-auth-ldap now builds fine on -current amd64.
ok?
Index: Makefile
===================================================================
RCS file: /d/cvs/ports/net/openvpn-auth-ldap/Makefile,v
retrieving revision 1.12
diff -u -p -p -u -r1.12 Makefile
--- Makefile 20 Jun 2017 22:29:38 -0000 1.12
+++ Makefile 27 Jul 2017 00:10:24 -0000
@@ -37,6 +37,7 @@ CONFIGURE_ARGS += --prefix=${LOCALBASE}
--with-check=${LOCALBASE} \
--with-openldap=${LOCALBASE} \
--with-openvpn=${LOCALBASE}/include/openvpn
+CONFIGURE_ENV = LIBS="-L${LOCALBASE}/lib"
SAMPLES_DIR = ${PREFIX}/share/examples/openvpn-auth-ldap
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE