diff options
author | nectar <nectar@FreeBSD.org> | 2000-11-01 01:26:41 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2000-11-01 01:26:41 +0800 |
commit | 0b4ae36f27f7e5a4422f21113933228f989f794f (patch) | |
tree | be60d431d4ad1e0fa9bcc7d81a5c12649ab76815 | |
parent | d6a15943aaf66f5435312af2ec5f6fedfdd00388 (diff) | |
download | freebsd-ports-gnome-0b4ae36f27f7e5a4422f21113933228f989f794f.tar.gz freebsd-ports-gnome-0b4ae36f27f7e5a4422f21113933228f989f794f.tar.zst freebsd-ports-gnome-0b4ae36f27f7e5a4422f21113933228f989f794f.zip |
Add a knob (WITH_LDAP) to enable compiling with support for LDAP as a
backend database for the KDC.
-rw-r--r-- | security/heimdal/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 730cdc0080d0..454ba68692a7 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -15,6 +15,10 @@ MASTER_SITES= ftp://ftp.pdc.kth.se/pub/heimdal/src/ \ MAINTAINER= nectar@FreeBSD.ORG +.if defined(WITH_LDAP) +LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 +.endif + RESTRICTED= "Crypto; export-controlled" MAN1= ftp.1 kdestroy.1 kf.1 kgetcred.1 kinit.1 klist.1 kpasswd.1 \ @@ -35,6 +39,9 @@ MAN8= ftpd.8 hprop.8 hpropd.8 kadmind.8 kdc.8 kfd.8 kpasswdd.8 \ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared +.if defined(WITH_LDAP) +CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} +.endif .if defined(HEIMDAL_HOME) PREFIX= ${HEIMDAL_HOME} |