Date: Fri, 15 Mar 2013 14:53:30 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r248330 - stable/9/tools/build Message-ID: <201303151453.r2FErUCa053072@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303151453.r2FErUCa053072>