aboutsummaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-06-13 10:08:18 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-06-13 10:08:18 +0000
commitdd987372782e403e026c2e837a6eef8f8bd979cd (patch)
tree28916af7c7986725f86623bc3d7502b6733ec3cf /include/Makefile
parent36716419f306eb946fafb57e3ab70246e38954b2 (diff)
downloadsrc-dd987372782e403e026c2e837a6eef8f8bd979cd.tar.gz
src-dd987372782e403e026c2e837a6eef8f8bd979cd.zip
Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers. PR: 189156 Submitted by: Garrett Cooper <yanegomi@gmail.com>
Notes
Notes: svn path=/head/; revision=267441
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index 4693c2f87438..f046bc16fc41 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -6,11 +6,11 @@
.include <src.opts.mk>
CLEANFILES= osreldate.h version vers.c
-SUBDIR= arpa gssapi protocols rpcsvc rpc xlocale
+SUBDIR= arpa protocols rpcsvc rpc xlocale
INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
db.h \
dirent.h dlfcn.h elf.h elf-hints.h err.h fmtmsg.h fnmatch.h fstab.h \
- fts.h ftw.h getopt.h glob.h grp.h gssapi.h \
+ fts.h ftw.h getopt.h glob.h grp.h \
ieeefp.h ifaddrs.h \
inttypes.h iso646.h kenv.h langinfo.h libgen.h limits.h link.h \
locale.h malloc.h malloc_np.h memory.h monetary.h mpool.h mqueue.h \
@@ -67,6 +67,11 @@ _dev_powermac_nvram= dev/powermac_nvram
_dev_ieee488= dev/ieee488
.endif
+.if ${MK_GSSAPI} != "no"
+SUBDIR+= gssapi
+INCS+= gssapi.h
+.endif
+
.if ${MK_HESIOD} != "no"
INCS+= hesiod.h
.endif