Author: brooks Date: Fri Mar 15 14:53:29 2013 New Revision: 248330 URL: http://svnweb.freebsd.org/changeset/base/248330
Log: MFC r245311: Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow a dependency on them. Sponsored by: DARPA, AFRL Modified: stable/9/tools/build/Makefile Directory Properties: stable/9/tools/build/ (props changed) Modified: stable/9/tools/build/Makefile ============================================================================== --- stable/9/tools/build/Makefile Fri Mar 15 14:01:37 2013 (r248329) +++ stable/9/tools/build/Makefile Fri Mar 15 14:53:29 2013 (r248330) @@ -9,6 +9,22 @@ INCS= BOOTSTRAPPING?= 0 +_WITH_PWCACHEDB!= grep -c pwcache_groupdb /usr/include/pwd.h || true +.if ${_WITH_PWCACHEDB} == 0 +.PATH: ${.CURDIR}/../../contrib/libc-pwcache +CFLAGS+= -I${.CURDIR}/../../contrib/libc-pwcache \ + -I${.CURDIR}/../../lib/libc/include +SRCS+= pwcache.c +.endif + +_WITH_STRSVIS!= grep -c strsvis /usr/include/vis.h || true +.if ${_WITH_STRSVIS} == 0 +.PATH: ${.CURDIR}/../../contrib/libc-vis +SRCS+= vis.c +CFLAGS+= -I${.CURDIR}/../../contrib/libc-vis \ + -I${.CURDIR}/../../lib/libc/include +.endif + .if empty(SRCS) SRCS= dummy.c .endif _______________________________________________ svn-src-stable-9@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9 To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"