aboutsummaryrefslogtreecommitdiff
path: root/net/openradius/scripts/configure
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-28 00:17:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-28 00:17:34 +0000
commitbad3a69afe15a1df880010b0a91f489e60db2e57 (patch)
treeaa5062cd1249559729eaeea5c9bc797026f1394c /net/openradius/scripts/configure
parentf3a0d1bb65756f7d8a4c6107804e3ccfb18819f6 (diff)
downloadports-bad3a69afe15a1df880010b0a91f489e60db2e57.tar.gz
ports-bad3a69afe15a1df880010b0a91f489e60db2e57.zip
- Update to 0.9.9
Still broken on 5.x PR: ports/73215 Submitted by: Adam Jette <jettea46@yahoo.com> (maintainer)
Notes
Notes: svn path=/head/; revision=120361
Diffstat (limited to 'net/openradius/scripts/configure')
-rw-r--r--net/openradius/scripts/configure11
1 files changed, 10 insertions, 1 deletions
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