svn commit: r351983 - in head/security: krb5 krb5-appl krb5-maint

Cy Schubert cy at FreeBSD.org
Thu Apr 24 03:53:31 UTC 2014


Author: cy
Date: Thu Apr 24 03:53:30 2014
New Revision: 351983
URL: http://svnweb.freebsd.org/changeset/ports/351983
QAT: https://qat.redports.org/buildarchive/r351983/

Log:
  Finely tune KRB5_HOME test when using LIB_DEPENDS. in the case when
  KRB5_HOME is set to LOCALBASE.

Modified:
  head/security/krb5-appl/Makefile
  head/security/krb5-maint/Makefile
  head/security/krb5/Makefile

Modified: head/security/krb5-appl/Makefile
==============================================================================
--- head/security/krb5-appl/Makefile	Thu Apr 24 01:54:58 2014	(r351982)
+++ head/security/krb5-appl/Makefile	Thu Apr 24 03:53:30 2014	(r351983)
@@ -49,8 +49,10 @@ INFO=			krb5-admin krb5-install krb5-use
 
 .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

Modified: head/security/krb5-maint/Makefile
==============================================================================
--- head/security/krb5-maint/Makefile	Thu Apr 24 01:54:58 2014	(r351982)
+++ head/security/krb5-maint/Makefile	Thu Apr 24 03:53:30 2014	(r351983)
@@ -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
 

Modified: head/security/krb5/Makefile
==============================================================================
--- head/security/krb5/Makefile	Thu Apr 24 01:54:58 2014	(r351982)
+++ head/security/krb5/Makefile	Thu Apr 24 03:53:30 2014	(r351983)
@@ -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
 


More information about the svn-ports-all mailing list