Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/apache22/Makefile,v retrieving revision 1.218 diff -u -r1.218 Makefile --- Makefile 23 Jun 2008 21:11:14 -0000 1.218 +++ Makefile 16 Jul 2008 16:46:24 -0000 @@ -142,6 +142,13 @@ CONFIGURE_ARGS+= --with-ldap \ --with-ldap-lib="${LOCALBASE}/lib" \ --with-ldap-include="${LOCALBASE}/include" +APR_CONFIG= ${LOCALBASE}/bin/apr-1-config +. if exists(${APR_CONFIG}) +APR_HAS_LDAP!= ${ECHO_CMD} `${APR_CONFIG} --libs | ${GREP} -c ldap` +. if ${APR_HAS_LDAP} == 0 +IGNORE= Please re-install devel/apr WITH_LDAP=yes or, remove it and let www/apache22 install the bundled apr for you +. endif +. endif .endif .if defined(WITHOUT_IPV6)