diff options
author | lofi <lofi@FreeBSD.org> | 2004-04-07 23:20:49 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-04-07 23:20:49 +0800 |
commit | d44461e88db8514aa22ee9f5122dd7c60fbf4e3f (patch) | |
tree | fef7e11edb791e47b0b3b27aca586de6a4f0e4bd /net | |
parent | 711d49e4a1b2dca0e20abe144adf1ecc21f2c5f7 (diff) | |
download | freebsd-ports-gnome-d44461e88db8514aa22ee9f5122dd7c60fbf4e3f.tar.gz freebsd-ports-gnome-d44461e88db8514aa22ee9f5122dd7c60fbf4e3f.tar.zst freebsd-ports-gnome-d44461e88db8514aa22ee9f5122dd7c60fbf4e3f.zip |
Fix kerberos detection on 4.x (and kerberos disabled systems).
PR: ports/65291
Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/samba-devel/Makefile | 2 | ||||
-rw-r--r-- | net/samba3/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile index c0df5d6608a3..341bfa23920e 100644 --- a/net/samba-devel/Makefile +++ b/net/samba-devel/Makefile @@ -197,7 +197,7 @@ CONFIGURE_ARGS+= --with-expsam=${WANT_EXPSAM_MODULES} .if defined(WANT_KRB5) # Relay on PATH KRB5_PREFIX!= krb5-config --prefix -.if defined(KRB5_PREFIX) +.if defined(KRB5_PREFIX) && !empty (KRB5_PREFIX) CONFIGURE_ARGS+= --with-krb5=${KRB5_PREFIX} .elif defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME} diff --git a/net/samba3/Makefile b/net/samba3/Makefile index c0df5d6608a3..341bfa23920e 100644 --- a/net/samba3/Makefile +++ b/net/samba3/Makefile @@ -197,7 +197,7 @@ CONFIGURE_ARGS+= --with-expsam=${WANT_EXPSAM_MODULES} .if defined(WANT_KRB5) # Relay on PATH KRB5_PREFIX!= krb5-config --prefix -.if defined(KRB5_PREFIX) +.if defined(KRB5_PREFIX) && !empty (KRB5_PREFIX) CONFIGURE_ARGS+= --with-krb5=${KRB5_PREFIX} .elif defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME} |