diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2009-10-21 21:04:46 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2009-10-21 21:04:46 +0000 |
commit | b8fe2370f1ef96834ab0be9595fb1935cef96b1c (patch) | |
tree | 22e5eee60f1afb21ae66afcf23034b2c0471abfc /misc | |
parent | 382845b728fcf0fabd89bf386c0d7ed2694bdfb8 (diff) | |
download | ports-b8fe2370f1ef96834ab0be9595fb1935cef96b1c.tar.gz ports-b8fe2370f1ef96834ab0be9595fb1935cef96b1c.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/zoneinfo/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/zoneinfo/Makefile b/misc/zoneinfo/Makefile index c32b35b16fd6..42fbfdde83b0 100644 --- a/misc/zoneinfo/Makefile +++ b/misc/zoneinfo/Makefile @@ -58,7 +58,13 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/zone.tab ${PREFIX}/share/zoneinfo post-install: - @${CAT} ${PKGMESSAGE} + if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a \ + -G /var/db/zoneinfo -a \ + -f /usr/share/zoneinfo/$$(cat /var/db/zoneinfo) ]; then \ + tzsetup -r; \ + else \ + ${CAT} ${PKGMESSAGE}; \ + fi test-patches: .for M in ${MISSING} |