aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-11-23 17:14:24 +0800
committerhrs <hrs@FreeBSD.org>2014-11-23 17:14:24 +0800
commitdd389e25b7c50cb63d768545996eba2f19a4823a (patch)
treefb2837684891912a031fad9753e49047f486f552 /Mk/Uses
parent1eff065cec8307a99ff70624e1440c1add1e3a4e (diff)
downloadfreebsd-ports-gnome-dd389e25b7c50cb63d768545996eba2f19a4823a.tar.gz
freebsd-ports-gnome-dd389e25b7c50cb63d768545996eba2f19a4823a.tar.zst
freebsd-ports-gnome-dd389e25b7c50cb63d768545996eba2f19a4823a.zip
Define CPPFLAGS instead of CFLAGS.
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/gssapi.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/Uses/gssapi.mk b/Mk/Uses/gssapi.mk
index 2914ee7e7928..9967c85bd6bc 100644
--- a/Mk/Uses/gssapi.mk
+++ b/Mk/Uses/gssapi.mk
@@ -27,7 +27,7 @@
#
# Affected variables:
# PREFIX (bootstrap)
-# CFLAGS (flags)
+# CPPFLAGS (flags)
# LDADD (flags)
# LDCFLAGS
#
@@ -58,7 +58,7 @@
#
# If pathname is required for Kerberos implementation, use ${GSSAPIBASEDIR}.
#
-# CFLAGS, LDFLAGS, and LDADD can automatically be set by using "flags"
+# CPPFLAGS, LDFLAGS, and LDADD can automatically be set by using "flags"
# modifier. It is useful if the port does not use a configure script.
#
# How To Debug:
@@ -144,7 +144,7 @@ LDFLAGS+= -Wl,-rpath,${_RPATH}:/usr/lib
_DEBUG_KRB_RPATH= -Wl,-rpath,${_RPATH}
.endif
.if defined(_KRB_USEFLAGS) && !empty(_KRB_USEFLAGS)
-CFLAGS+= ${GSSAPICPPFLAGS}
+CPPFLAGS+= ${GSSAPICPPFLAGS}
LDFLAGS+= ${GSSAPILDFLAGS}
LDADD+= ${GSSAPILIBS}
.endif