Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 03:53:30 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351983 - in head/security: krb5 krb5-appl krb5-maint
Message-ID:  <201404240353.s3O3rUZd010273@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404240353.s3O3rUZd010273>