Author: julian
Date: Thu Dec 22 18:30:29 2016
New Revision: 310426
URL: https://svnweb.freebsd.org/changeset/base/310426

Log:
  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:
  head/share/zoneinfo/Makefile

Modified: head/share/zoneinfo/Makefile
==============================================================================
--- head/share/zoneinfo/Makefile        Thu Dec 22 18:26:21 2016        
(r310425)
+++ head/share/zoneinfo/Makefile        Thu Dec 22 18:30:29 2016        
(r310426)
@@ -85,6 +85,8 @@ zoneinfo: yearistype ${TDATA}
 
 beforeinstall: install-zoneinfo
 install-zoneinfo:
+       mkdir -p ${DESTDIR}/usr/share/zoneinfo
+       cd ${DESTDIR}/usr/share/zoneinfo;  mkdir -p ${TZBUILDSUBDIRS}
        cd ${TZBUILDDIR} && \
            find -s * -type f -print -exec ${INSTALL} ${TAG_ARGS} \
            -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to