diff options
author | cy <cy@FreeBSD.org> | 2014-04-24 11:53:30 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2014-04-24 11:53:30 +0800 |
commit | 9a08f36574805215961dc9ada197e4d09fba9fee (patch) | |
tree | 884e53bd0359c5d7da602b6dc988c9d06c16fbc0 /security/krb5 | |
parent | 83c12372d165e3fb9e048a766eee00b210e60f19 (diff) | |
download | freebsd-ports-gnome-9a08f36574805215961dc9ada197e4d09fba9fee.tar.gz freebsd-ports-gnome-9a08f36574805215961dc9ada197e4d09fba9fee.tar.zst freebsd-ports-gnome-9a08f36574805215961dc9ada197e4d09fba9fee.zip |
Finely tune KRB5_HOME test when using LIB_DEPENDS. in the case when
KRB5_HOME is set to LOCALBASE.
Diffstat (limited to 'security/krb5')
-rw-r--r-- | security/krb5/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |