Fix build when KRB5_HOME != LOCALBASE.

Submitted by:	hrs
This commit is contained in:
Cy Schubert 2014-05-27 19:59:41 +00:00
parent 4810808278
commit 8e4681c7b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355569

View File

@ -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