Skip to content
Browse files

When building with security/krb5 (specifying KRB5_HOME), make

sure to link mit-krb5 libs.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@309969 aed309b6-a8cd-e111-996c-001c23d10e55
  • Loading branch information...
1 parent 2abdc7d commit bcfeb5ad833f73e821fa69d0dc0f23c9963cadd2 ume committed
Showing with 2 additions and 0 deletions.
  1. +1 −0 security/cyrus-sasl2-saslauthd/Makefile
  2. +1 −0 security/cyrus-sasl2/Makefile
View
1 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)
View
1 security/cyrus-sasl2/Makefile
@@ -186,6 +186,7 @@ CPPFLAGS+= -fPIC
.endif
.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)

0 comments on commit bcfeb5a

Please sign in to comment.
Something went wrong with that request. Please try again.