Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2016 18:30:29 +0000 (UTC)
From:      Julian Elischer <julian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r310426 - head/share/zoneinfo
Message-ID:  <201612221830.uBMIUTNK076458@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612221830.uBMIUTNK076458>