diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index 670f4fef32a2..6ce6503d10ce 100644 --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -30,12 +30,10 @@ yearistype: yearistype.sh beforeinstall: umask 022; cd ${.CURDIR}; \ - zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ + zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ + -u ${BINOWN} -g ${BINGRP} \ ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES} ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/ -afterinstall: - chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/zoneinfo/* - .include