svn commit: r245167 - projects/mtree/tools/build
Brooks Davis
brooks at FreeBSD.org
Tue Jan 8 17:01:33 UTC 2013
Author: brooks
Date: Tue Jan 8 17:01:32 2013
New Revision: 245167
URL: http://svnweb.freebsd.org/changeset/base/245167
Log:
Build the contrib versions of pwcache(3) and vis(3). We need strsvis for
getid.c in install and we having a full pwcache(3) implementation means
we can use -N to eliminate bootstrapping problems when new users are
added for new services.
Deleted:
projects/mtree/tools/build/pwcache-stub.c
Modified:
projects/mtree/tools/build/Makefile
Modified: projects/mtree/tools/build/Makefile
==============================================================================
--- projects/mtree/tools/build/Makefile Tue Jan 8 15:23:38 2013 (r245166)
+++ projects/mtree/tools/build/Makefile Tue Jan 8 17:01:32 2013 (r245167)
@@ -23,7 +23,18 @@ config.h: ${.CURDIR}/../../lib/libmagic/
_WITH_PWCACHEDB!= grep -c pwcache_groupdb /usr/include/pwd.h || true
.if ${_WITH_PWCACHEDB} == 0
-SRCS+= pwcache-stub.c
+.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)
More information about the svn-src-projects
mailing list