aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mutt-devel/Makefile11
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