diff options
author | marcus <marcus@FreeBSD.org> | 2004-05-11 19:23:16 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-05-11 19:23:16 +0000 |
commit | c5812546c26de2ffd4ecd24adb03490ab11aeca9 (patch) | |
tree | c691f7d3075c5d86837e4f78211480880371a5a4 /net | |
parent | 2a92c8427e7312a24da76b807289901735d04405 (diff) | |
download | FreeBSD-ports-c5812546c26de2ffd4ecd24adb03490ab11aeca9.zip FreeBSD-ports-c5812546c26de2ffd4ecd24adb03490ab11aeca9.tar.gz |
Fix the kerberos dependency so that this will properly build on the clusters,
and retain its kerberos dependency at runtime.
Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/samba-devel/Makefile | 9 | ||||
-rw-r--r-- | net/samba3/Makefile | 9 |
2 files changed, 4 insertions, 14 deletions
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile index 5a2bbb5..865cac0 100644 --- a/net/samba-devel/Makefile +++ b/net/samba-devel/Makefile @@ -214,13 +214,8 @@ CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} .elif ( defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105 ) && exists(/usr/lib/libkrb5.a) CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr .else -BUILD_DEPENDS+= krb5-config:${PORTSDIR}/security/heimdal -KRB5_PREFIX!= krb5-config --prefix 2>/dev/null || true -.if defined(KRB5_PREFIX) && !empty (KRB5_PREFIX) -CONFIGURE_ARGS+= --with-krb5=${KRB5_PREFIX} -.else -BROKEN= "Kerberos5 is necessary for ADS support. Please, install either Heimdal or MIT-Kerberos" -.endif +LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal +CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} .endif .else CONFIGURE_ARGS+= --without-krb5 diff --git a/net/samba3/Makefile b/net/samba3/Makefile index 5a2bbb5..865cac0 100644 --- a/net/samba3/Makefile +++ b/net/samba3/Makefile @@ -214,13 +214,8 @@ CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} .elif ( defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105 ) && exists(/usr/lib/libkrb5.a) CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr .else -BUILD_DEPENDS+= krb5-config:${PORTSDIR}/security/heimdal -KRB5_PREFIX!= krb5-config --prefix 2>/dev/null || true -.if defined(KRB5_PREFIX) && !empty (KRB5_PREFIX) -CONFIGURE_ARGS+= --with-krb5=${KRB5_PREFIX} -.else -BROKEN= "Kerberos5 is necessary for ADS support. Please, install either Heimdal or MIT-Kerberos" -.endif +LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal +CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} .endif .else CONFIGURE_ARGS+= --without-krb5 |