View | Details | Raw Unified | Return to bug 104664
Collapse All | Expand All

(-)Makefile (-18 / +11 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	zoneinfo
7
PORTNAME=	zoneinfo
8
DISTVERSION=	2006n
8
DISTVERSION=	2006n
9
PORTREVISION=	2
9
CATEGORIES=	misc
10
CATEGORIES=	misc
10
MASTER_SITES=	ftp://elsie.nci.nih.gov/pub/
11
MASTER_SITES=	ftp://elsie.nci.nih.gov/pub/
11
DISTNAME=	tzdata${DISTVERSION}
12
DISTNAME=	tzdata${DISTVERSION}
Lines 23-53 Link Here
23
POSIXRULES=	America/New_York
24
POSIXRULES=	America/New_York
24
25
25
# Prevent packages if on the FreeBSD building cluster. This because
26
# Prevent packages if on the FreeBSD building cluster. This because
26
# it overwrite system files and directories.
27
# it overwrites system files and directories.
27
.if defined(PACKAGE_BUILDING)
28
.if defined(PACKAGE_BUILDING)
28
NO_PACKAGE=	yes
29
NO_PACKAGE=	yes
29
.endif
30
.endif
30
31
31
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
32
33
33
.if ${OSVERSION} < 500000
34
# The following country codes can be missing from /usr/share/misc/iso3166 and
34
EXTRA_PATCHES+=	${FILESDIR}/patch4-zone.tab
35
# shouldn't appear in the zoneinfo file.
35
.endif
36
MISSING=	ax gg im je me rs
36
37
37
HAS_GG!=	${GREP} -c ^GG /usr/share/misc/iso3166 || ${TRUE}
38
.for M in ${MISSING}
38
.if ${HAS_GG} == "0"
39
HAS_${M:U}!=	${GREP} -c ^${M:U} /usr/share/misc/iso3166 || ${TRUE}
39
EXTRA_PATCHES+=	${FILESDIR}/patchremove-gg
40
.if ${HAS_${M:U}} == "0"
40
.endif
41
EXTRA_PATCHES+=	${FILESDIR}/patchremove-${M}
41
42
HAS_IM!=	${GREP} -c ^IM /usr/share/misc/iso3166 || ${TRUE}
43
.if ${HAS_IM} == "0"
44
EXTRA_PATCHES+=	${FILESDIR}/patchremove-im
45
.endif
46
47
HAS_JE!=	${GREP} -c ^JE /usr/share/misc/iso3166 || ${TRUE}
48
.if ${HAS_JE} == "0"
49
EXTRA_PATCHES+=	${FILESDIR}/patchremove-je
50
.endif
42
.endif
43
.endfor
51
44
52
do-build:
45
do-build:
53
	umask 022; \
46
	umask 022; \
(-)files/patch4-zone.tab (-11 lines)
Removed Link Here
1
--- zone.tab.orig	Tue Mar 28 13:09:09 2006
2
+++ zone.tab	Tue Mar 28 13:09:18 2006
3
@@ -65,7 +65,7 @@
4
 AU	-1228+13050	Australia/Darwin	Northern Territory
5
 AU	-3157+11551	Australia/Perth	Western Australia
6
 AW	+1230-06858	America/Aruba
7
-AX	+6006+01957	Europe/Mariehamn
8
+#AX	+6006+01957	Europe/Mariehamn
9
 AZ	+4023+04951	Asia/Baku
10
 BA	+4352+01825	Europe/Sarajevo
11
 BB	+1306-05937	America/Barbados
(-)files/patchremove-ax (+11 lines)
Added Link Here
1
--- zone.tab.orig	Tue Mar 28 13:09:09 2006
2
+++ zone.tab	Tue Mar 28 13:09:18 2006
3
@@ -65,7 +65,7 @@
4
 AU	-1228+13050	Australia/Darwin	Northern Territory
5
 AU	-3157+11551	Australia/Perth	Western Australia
6
 AW	+1230-06858	America/Aruba
7
-AX	+6006+01957	Europe/Mariehamn
8
+#AX	+6006+01957	Europe/Mariehamn
9
 AZ	+4023+04951	Asia/Baku
10
 BA	+4352+01825	Europe/Sarajevo
11
 BB	+1306-05937	America/Barbados
(-)files/patchremove-me (+11 lines)
Added Link Here
1
--- zone.tab.orig	Tue Oct 17 07:38:12 2006
2
+++ zone.tab	Tue Oct 17 07:38:31 2006
3
@@ -247,7 +247,7 @@
4
 MA	+3339-00735	Africa/Casablanca
5
 MC	+4342+00723	Europe/Monaco
6
 MD	+4700+02850	Europe/Chisinau
7
-ME	+4247+01928	Europe/Podgorica
8
+#ME	+4247+01928	Europe/Podgorica
9
 MG	-1855+04731	Indian/Antananarivo
10
 MH	+0709+17112	Pacific/Majuro	most locations
11
 MH	+0905+16720	Pacific/Kwajalein	Kwajalein
(-)files/patchremove-rs (+11 lines)
Added Link Here
1
--- zone.tab.orig	Tue Oct 17 07:38:12 2006
2
+++ zone.tab	Tue Oct 17 07:38:31 2006
3
@@ -312,7 +312,7 @@
4
 QA	+2517+05132	Asia/Qatar
5
 RE	-2052+05528	Indian/Reunion
6
 RO	+4426+02606	Europe/Bucharest
7
-RS	+4450+02030	Europe/Belgrade
8
+#RS	+4450+02030	Europe/Belgrade
9
 RU	+5443+02030	Europe/Kaliningrad	Moscow-01 - Kaliningrad
10
 RU	+5545+03735	Europe/Moscow	Moscow+00 - west Russia
11
 RU	+4844+04425	Europe/Volgograd	Moscow+00 - Caspian Sea

Return to bug 104664