aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2009-10-21 21:04:46 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2009-10-21 21:04:46 +0000
commitb8fe2370f1ef96834ab0be9595fb1935cef96b1c (patch)
tree22e5eee60f1afb21ae66afcf23034b2c0471abfc /misc
parent382845b728fcf0fabd89bf386c0d7ed2694bdfb8 (diff)
downloadports-b8fe2370f1ef96834ab0be9595fb1935cef96b1c.tar.gz
ports-b8fe2370f1ef96834ab0be9595fb1935cef96b1c.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/zoneinfo/Makefile8
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}