aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2013-01-06 02:01:02 +0800
committerume <ume@FreeBSD.org>2013-01-06 02:01:02 +0800
commit8f1611325329b1d4d11a15f9386130e724fe27b2 (patch)
treefa6f75256d6373a6dd3bc168ee1de46471116a6a /security/cyrus-sasl2-saslauthd
parent89e0e4ac93ae420ced4a7dfd2a22c216b945945b (diff)
downloadfreebsd-ports-gnome-8f1611325329b1d4d11a15f9386130e724fe27b2.tar.gz
freebsd-ports-gnome-8f1611325329b1d4d11a15f9386130e724fe27b2.tar.zst
freebsd-ports-gnome-8f1611325329b1d4d11a15f9386130e724fe27b2.zip
When building with security/krb5 (specifying KRB5_HOME), make
sure to link mit-krb5 libs.
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 6d8e92c53b75..ef7d30f204e9 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -76,6 +76,7 @@ CONFIGURE_ARGS+=--enable-httpform
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so)
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME} --with-gss_impl=mit
+LDFLAGS+= "-R${KRB5_HOME}/lib"
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} --with-gss_impl=heimdal
.elif !defined(WITHOUT_GSSAPI) && exists(/usr/lib/libkrb5.a)