summaryrefslogtreecommitdiff
path: root/misc/zoneinfo
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-03-28 02:15:40 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-03-28 02:15:40 +0000
commit1436b342415eed683b8c62b570dfbe506b66e7a6 (patch)
treef755412dbcd410b7fac2c39543666e4c14d89521 /misc/zoneinfo
parentAdd gnomedocutils to gnomedesktop's implied dependencies list. (diff)
FreeBSD 4.x doesn't know about the country code AX.
Diffstat (limited to 'misc/zoneinfo')
-rw-r--r--misc/zoneinfo/Makefile8
-rw-r--r--misc/zoneinfo/files/patch4-zone.tab11
2 files changed, 18 insertions, 1 deletions
diff --git a/misc/zoneinfo/Makefile b/misc/zoneinfo/Makefile
index 09a93a4027c0..ccbc73f3d478 100644
--- a/misc/zoneinfo/Makefile
+++ b/misc/zoneinfo/Makefile
@@ -22,6 +22,12 @@ TZFILES= africa antarctica asia australasia etcetera europe \
factory northamerica southamerica systemv
POSIXRULES= America/New_York
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+EXTRA_PATCHES= ${FILESDIR}/patch4-zone.tab
+.endif
+
do-build:
umask 022; \
cd ${WRKSRC}; \
@@ -36,4 +42,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/misc/zoneinfo/files/patch4-zone.tab b/misc/zoneinfo/files/patch4-zone.tab
new file mode 100644
index 000000000000..6b9f86387128
--- /dev/null
+++ b/misc/zoneinfo/files/patch4-zone.tab
@@ -0,0 +1,11 @@
+--- zone.tab.orig Tue Mar 28 13:09:09 2006
++++ zone.tab Tue Mar 28 13:09:18 2006
+@@ -65,7 +65,7 @@
+ AU -1228+13050 Australia/Darwin Northern Territory
+ AU -3157+11551 Australia/Perth Western Australia
+ AW +1230-06858 America/Aruba
+-AX +6006+01957 Europe/Mariehamn
++#AX +6006+01957 Europe/Mariehamn
+ AZ +4023+04951 Asia/Baku
+ BA +4352+01825 Europe/Sarajevo
+ BB +1306-05937 America/Barbados