svn commit: r312870 - stable/10/share/zoneinfo

Julian Elischer julian at FreeBSD.org
Fri Jan 27 09:07:12 UTC 2017


Author: julian
Date: Fri Jan 27 09:07:11 2017
New Revision: 312870
URL: https://svnweb.freebsd.org/changeset/base/312870

Log:
  MFH: r310426
  
  If you are going to be run individually to make a new timezone set
  then ensure the destination directories exist.
  Especially if you define OLDTIMEZONES because the mtree pass
  doesn't do it for you.
  
  MFC after:	1 week
  Sponsored by:	Panzura

Modified:
  stable/10/share/zoneinfo/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/zoneinfo/Makefile
==============================================================================
--- stable/10/share/zoneinfo/Makefile	Fri Jan 27 09:04:29 2017	(r312869)
+++ stable/10/share/zoneinfo/Makefile	Fri Jan 27 09:07:11 2017	(r312870)
@@ -82,6 +82,8 @@ zoneinfo: yearistype ${TDATA}
 	    ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES}
 
 beforeinstall:
+	mkdir -p ${DESTDIR}/usr/share/zoneinfo
+	cd ${DESTDIR}/usr/share/zoneinfo;  mkdir -p ${TZBUILDSUBDIRS}
 	cd ${TZBUILDDIR} && \
 	    find -s * -type f -print -exec ${INSTALL} \
 	    -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \


More information about the svn-src-all mailing list