Without this diff src.db is installed as the build user when makeing a
noperm release. <bsd.own.mk> is required for BINOWN/BINGRP. Ok?

natano


Index: Makefile
===================================================================
RCS file: /cvs/src/distrib/sets/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- Makefile    9 Jul 2014 19:23:28 -0000       1.1
+++ Makefile    20 Sep 2016 19:55:10 -0000
@@ -4,5 +4,8 @@ DB = /usr/lib/locate/src.db
 
 makedb:
        /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
+       chown ${BINOWN}:${BINGRP} ${DESTDIR}${DB}
 
 .PHONY: makedb
+
+.include <bsd.own.mk>

Reply via email to