From 9a08f36574805215961dc9ada197e4d09fba9fee Mon Sep 17 00:00:00 2001 From: cy Date: Thu, 24 Apr 2014 03:53:30 +0000 Subject: Finely tune KRB5_HOME test when using LIB_DEPENDS. in the case when KRB5_HOME is set to LOCALBASE. --- security/krb5/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'security/krb5') diff --git a/security/krb5/Makefile b/security/krb5/Makefile index 06dab3687f2b..e61da42bd719 100644 --- a/security/krb5/Makefile +++ b/security/krb5/Makefile @@ -43,8 +43,10 @@ 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 -- cgit