From bad3a69afe15a1df880010b0a91f489e60db2e57 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 28 Oct 2004 00:17:34 +0000 Subject: - Update to 0.9.9 Still broken on 5.x PR: ports/73215 Submitted by: Adam Jette (maintainer) --- net/openradius/scripts/configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'net/openradius/scripts/configure') diff --git a/net/openradius/scripts/configure b/net/openradius/scripts/configure index 6ee603c24579..2454fc22bf44 100644 --- a/net/openradius/scripts/configure +++ b/net/openradius/scripts/configure @@ -19,6 +19,16 @@ TGT_LIB += modules/unixpasswd/unixpasswd TGT_LIB += modules/radlogger/radlogger TGT_LIB += modules/delay/delay TGT_LIB += modules/radsql/radsql +END + +if [ -f $LDAPINCLUDE/usr/local/include/ldap.h ]; then +cat >> Makefile << END +TGT_LIB += modules/radldap/radldap +CF_RADLDAP = -I$LDAPINCLUDE/usr/local/include +END +fi + +cat >> Makefile << END ### System compatibility flags, used in some targets' CF_TGT, LF_TGT or LL_TGT # @@ -36,7 +46,6 @@ LL_ALL = ### Module-specific build flags # -CF_RADLDAP = -I$LDAPINCLUDE/openldap LF_RADLDAP = -L$LDAPLIB/usr/local/lib LL_RADLDAP = -lldap -llber -- cgit v1.2.3