diff options
author | Cy Schubert <cy@FreeBSD.org> | 2014-04-24 03:53:30 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2014-04-24 03:53:30 +0000 |
commit | 8c83d17a73a94a634ef5c18c020a3714187dd22f (patch) | |
tree | 884e53bd0359c5d7da602b6dc988c9d06c16fbc0 | |
parent | fb7f0b442265e18101cca34d92c3bf4c37717c59 (diff) |
Finely tune KRB5_HOME test when using LIB_DEPENDS. in the case when
KRB5_HOME is set to LOCALBASE.
Notes
Notes:
svn path=/head/; revision=351983
-rw-r--r-- | security/krb5-appl/Makefile | 2 | ||||
-rw-r--r-- | security/krb5-maint/Makefile | 2 | ||||
-rw-r--r-- | security/krb5/Makefile | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile index 2a30f9d92545..eb68249b2811 100644 --- a/security/krb5-appl/Makefile +++ b/security/krb5-appl/Makefile @@ -49,8 +49,10 @@ INFO= krb5-admin krb5-install krb5-user .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} +.if ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif +.endif CFLAGS+= -I${PREFIX}/include LDFLAGS+= -L${PREFIX}/lib diff --git a/security/krb5-maint/Makefile b/security/krb5-maint/Makefile index e4830edd7af7..d2b35eebaee9 100644 --- a/security/krb5-maint/Makefile +++ b/security/krb5-maint/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 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 |