Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 02:29:50 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397211 - head/Mk/Uses
Message-ID:  <201509180229.t8I2To97056775@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Sep 18 02:29:49 2015
New Revision: 397211
URL: https://svnweb.freebsd.org/changeset/ports/397211

Log:
  Add KRB5CONFIG.

Modified:
  head/Mk/Uses/gssapi.mk

Modified: head/Mk/Uses/gssapi.mk
==============================================================================
--- head/Mk/Uses/gssapi.mk	Fri Sep 18 02:23:56 2015	(r397210)
+++ head/Mk/Uses/gssapi.mk	Fri Sep 18 02:29:49 2015	(r397211)
@@ -24,6 +24,7 @@
 #  GSSAPILIBDIR
 #  GSSAPILIBS
 #  GSSAPI_CONFIGURE_ARGS
+#  KRB5CONFIG
 #
 # Affected variables:
 #  PREFIX (bootstrap)
@@ -133,6 +134,8 @@ IGNORE=	USES=gssapi - invalid args: [${_
 .endif
 .endfor
 
+KRB5CONFIG=${GSSAPIBASEDIR}/bin/krb5-config
+
 # Fix up -Wl,-rpath in LDFLAGS
 .if defined(_RPATH) && !empty(_RPATH)
 .if !empty(LDFLAGS:M-Wl,-rpath,*)
@@ -153,7 +156,8 @@ LDADD+=		${GSSAPILIBS}
 GSSAPI_CONFIGURE_ARGS=	\
 	CFLAGS="${GSSAPICPPFLAGS} ${CFLAGS}" \
 	LDFLAGS="${GSSAPILDFLAGS} ${LDFLAGS}" \
-	LIBS="${GSSAPILIBS} ${LIBS}"
+	LIBS="${GSSAPILIBS} ${LIBS}" \
+	KRB5CONFIG="${KRB5CONFIG}"
 
 debug-krb:
 	@(for I in ${_HEADERS}; do echo "#include <$$I>"; done; \
@@ -174,6 +178,7 @@ debug-krb:
 	@echo "GSSAPICPPFLAGS: ${GSSAPICPPFLAGS}"
 	@echo "GSSAPILDFLAGS: ${GSSAPILDFLAGS}"
 	@echo "GSSAPI_CONFIGURE_ARGS: ${GSSAPI_CONFIGURE_ARGS}"
+	@echo "KRB5CONFIG: ${KRB5CONFIG}"
 	@echo "CFLAGS: ${CFLAGS}"
 	@echo "LDFLAGS: ${LDFLAGS}"
 	@echo "LDADD: ${LDADD}"



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