diff options
author | cy <cy@FreeBSD.org> | 2012-06-16 14:56:30 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2012-06-16 14:56:30 +0800 |
commit | 3626ce41df0f6fbf300e1652e0dd860543384908 (patch) | |
tree | 4f1dd13ac685f7de45159189e237612e5a2186ae | |
parent | a9ebfb84f64c94279988da380cef5e8fe4822e3c (diff) | |
download | freebsd-ports-gnome-3626ce41df0f6fbf300e1652e0dd860543384908.tar.gz freebsd-ports-gnome-3626ce41df0f6fbf300e1652e0dd860543384908.tar.zst freebsd-ports-gnome-3626ce41df0f6fbf300e1652e0dd860543384908.zip |
Fix runtime when krb5 or heimdal from ports is used.
PR: ports/168639
Approved by: maintainer (implicit)
-rw-r--r-- | mail/mutt-devel/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index e04e307bf578..7dae89a3d5d3 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -122,7 +122,7 @@ PORTNAME= mutt-devel PORTVERSION= 1.5.21 -PORTREVISION?= 5 +PORTREVISION?= 4 CATEGORIES+= mail ipv6 .if defined(WITH_MUTT_NNTP) CATEGORIES+= news @@ -402,6 +402,7 @@ CONFIGURE_ARGS+= --enable-gpgme .else CONFIGURE_ARGS+= --disable-gpgme .endif +LDFLAGS= .if !defined(WITHOUT_GSSAPI) .if exists(${LOCALBASE}/bin/krb5-config) LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 @@ -409,17 +410,17 @@ CONFIGURE_ARGS+= --with-gss=${LOCALBASE} .elif exists(${KRB5_HOME}/bin/krb5-config) LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 CONFIGURE_ARGS+= --with-gss=${KRB5_HOME} -LDFLAGS+= -L ${KRB5_HOME}/lib +LDFLAGS+= -L${KRB5_HOME}/lib -rpath=${KRB5_HOME}/lib .elif exists(${HEIMDAL_HOME}/bin/krb5-config) LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 -CONFIGURE_ARGS+= --with-gss=${KRB5_HOME} -LDFLAGS+= -L ${HEIMDAL_HOME}/lib +CONFIGURE_ARGS+= --with-gss=${HEIMDAL_HOME} +LDFLAGS+= -L${HEIMDAL_HOME}/lib -rpath=${HEIMDAL_HOME}/lib .elif (defined(MAKE_KERBEROS5)) || exists(/usr/lib/libkrb5.a) CONFIGURE_ARGS+= --with-gss USE_KRB5_SYS=YES .endif .endif -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -rpath=${LOCALBASE}/lib:/usr/lib .if defined(WITH_MUTT_SMTP) CONFIGURE_ARGS+= --enable-smtp .else |