aboutsummaryrefslogtreecommitdiff
path: root/security/krb5
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-05-27 19:59:41 +0000
committerCy Schubert <cy@FreeBSD.org>2014-05-27 19:59:41 +0000
commit8e4681c7b46c9a53a9b392541dd3c6348ab7cc65 (patch)
tree5ca1683fddac83db0c18c6b84d7ce04f3cefacb6 /security/krb5
parent4810808278d1026e4d29ef652074464c09167454 (diff)
downloadports-8e4681c7b46c9a53a9b392541dd3c6348ab7cc65.tar.gz
ports-8e4681c7b46c9a53a9b392541dd3c6348ab7cc65.zip
Fix build when KRB5_HOME != LOCALBASE.
Submitted by: hrs
Notes
Notes: svn path=/head/; revision=355569
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