aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-09-18 10:29:49 +0800
committerhrs <hrs@FreeBSD.org>2015-09-18 10:29:49 +0800
commit728833124f597e9316a31fc0858fb81456785df7 (patch)
tree89c1519d416179039fa155dc8377b63f9ca8159d /Mk/Uses
parent80af81f0a052d78f094284d6f2160b99d5c17106 (diff)
downloadfreebsd-ports-gnome-728833124f597e9316a31fc0858fb81456785df7.tar.gz
freebsd-ports-gnome-728833124f597e9316a31fc0858fb81456785df7.tar.zst
freebsd-ports-gnome-728833124f597e9316a31fc0858fb81456785df7.zip
Add KRB5CONFIG.
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/gssapi.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/Uses/gssapi.mk b/Mk/Uses/gssapi.mk
index 5f33baebbe64..9c8d97a07a94 100644
--- a/Mk/Uses/gssapi.mk
+++ b/Mk/Uses/gssapi.mk
@@ -24,6 +24,7 @@
# GSSAPILIBDIR
# GSSAPILIBS
# GSSAPI_CONFIGURE_ARGS
+# KRB5CONFIG
#
# Affected variables:
# PREFIX (bootstrap)
@@ -133,6 +134,8 @@ IGNORE= USES=gssapi - invalid args: [${_local}] specified
.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}"