aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-05-28 03:59:41 +0800
committercy <cy@FreeBSD.org>2014-05-28 03:59:41 +0800
commit0b7d553eae59307fcfdfd83554eca5644ae8ed7e (patch)
tree5ca1683fddac83db0c18c6b84d7ce04f3cefacb6 /security/krb5
parent40078574b7456b2d0a3b5e15a5ab9f24adfc9ac5 (diff)
downloadfreebsd-ports-gnome-0b7d553eae59307fcfdfd83554eca5644ae8ed7e.tar.gz
freebsd-ports-gnome-0b7d553eae59307fcfdfd83554eca5644ae8ed7e.tar.zst
freebsd-ports-gnome-0b7d553eae59307fcfdfd83554eca5644ae8ed7e.zip
Fix build when KRB5_HOME != LOCALBASE.
Submitted by: hrs
Diffstat (limited to 'security/krb5')
-rw-r--r--security/krb5/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index e61da42bd719..e22bf9cd554e 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -43,9 +43,6 @@ LDAP= Enable LDAP support
PREFIX= ${KRB5_HOME}
CFLAGS+= -Wl,-rpath=${KRB5_HOME}/lib
LDFLAGS+= -Wl,-rpath=${KRB5_HOME}/lib
-.if ${KRB5_HOME} != ${LOCALBASE}
-BROKEN= LIB_DEPENDS when using KRB5_HOME is broken
-.endif
.endif
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
@@ -55,6 +52,10 @@ USE_RC_SUBR= kpropd
.include <bsd.port.pre.mk>
+.if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE}
+BROKEN= LIB_DEPENDS when using KRB5_HOME is broken
+.endif
+
.if ${PORT_OPTIONS:MDNS_FOR_REALM}
CONFIGURE_ARGS+= --enable-dns-for-realm
.endif