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

(-)gdc/Makefile (-25 / +34 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	gdc
8
PORTNAME=	gdc
9
PORTVERSION=	0.21
9
PORTVERSION=	0.23
10
CATEGORIES=	lang
10
CATEGORIES=	lang
11
MASTER_SITES=	${MASTER_SITE_GCC} \
11
MASTER_SITES=	${MASTER_SITE_GCC} \
12
		${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dgcc/g:S/$/:gdc/g}
12
		${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dgcc/g:S/$/:gdc/g}
Lines 18-24 Link Here
18
MAINTAINER=	ozawa@ongs.co.jp
18
MAINTAINER=	ozawa@ongs.co.jp
19
COMMENT=	D Front End for GCC
19
COMMENT=	D Front End for GCC
20
20
21
ONLY_FOR_ARCHS=	i386
21
ONLY_FOR_ARCHS=	i386 amd64
22
22
23
USE_BISON=	yes
23
USE_BISON=	yes
24
USE_BZIP2=	yes
24
USE_BZIP2=	yes
Lines 42-64 Link Here
42
42
43
MAN1=		gdc.1 gdmd.1
43
MAN1=		gdc.1 gdmd.1
44
44
45
.ifndef TARGET_GCC
46
TARGET_GCC=	3.4	# default
47
.elif ${TARGET_GCC} != 3.4 && ${TARGET_GCC} != 4.0
48
.error it cannot be specified as TARGET_GCC other than 3.4 or 4.0
49
.endif
50
51
.if ${TARGET_GCC} == 4.0
52
GCC_VERSION=	4.0.4
53
GCC_REVISION=	20061228
54
GCC_VERSIONSTRING=	4.0-${GCC_REVISION}
55
GCC_MASTER_SITE_SUBDIR=	snapshots/${GCC_VERSIONSTRING}
56
.else
57
GCC_VERSION=	3.4.6
58
GCC_VERSIONSTRING=	${GCC_VERSION}
59
GCC_MASTER_SITE_SUBDIR=	releases/gcc-${GCC_VERSIONSTRING}
60
.endif
61
62
GCCDIR=		${SRCDIR}/gcc
45
GCCDIR=		${SRCDIR}/gcc
63
GDC_INC=	${PREFIX}/include/d/${GCC_VERSION}
46
GDC_INC=	${PREFIX}/include/d/${GCC_VERSION}
64
47
Lines 69-88 Link Here
69
IGNORE=		it is supported on FreeBSD 5.x and later
52
IGNORE=		it is supported on FreeBSD 5.x and later
70
.endif
53
.endif
71
54
55
.ifndef TARGET_GCC
56
.if ${OSVERSION} >= 700000
57
TARGET_GCC=	4.1
58
.else
59
TARGET_GCC=	3.4
60
.endif
61
.elif ${TARGET_GCC} != 3.4 && ${TARGET_GCC} != 4.0 && ${TARGET_GCC} != 4.1
62
.error it cannot be specified as TARGET_GCC other than 3.4, 4.0 or 4.1
63
.endif
64
65
.if ${TARGET_GCC} == 4.1
66
GCC_VERSION=	4.1.3
67
GCC_REVISION=	20070312
68
GCC_VERSIONSTRING=	4.1-${GCC_REVISION}
69
GCC_MASTER_SITE_SUBDIR=	snapshots/gcc-${GCC_VERSIONSTRING}
70
.elif ${TARGET_GCC} == 4.0
71
GCC_VERSION=	4.0.4
72
GCC_VERSIONSTRING=	${GCC_VERSION}
73
GCC_MASTER_SITE_SUBDIR=	releases/gcc-${GCC_VERSIONSTRING}
74
.else
75
GCC_VERSION=	3.4.6
76
GCC_VERSIONSTRING=	${GCC_VERSION}
77
GCC_MASTER_SITE_SUBDIR=	releases/gcc-${GCC_VERSIONSTRING}
78
.endif
79
72
.if ${ARCH} == "amd64"
80
.if ${ARCH} == "amd64"
73
# I hope the GDC will support amd64.
74
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
81
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
75
.endif
82
.endif
76
83
77
pre-fetch:
84
pre-fetch:
78
	@${ECHO_CMD}
85
	@${ECHO_CMD}
79
	@${ECHO_CMD} "======================================================="
86
	@${ECHO_CMD} "========================================================="
80
	@${ECHO_CMD}
87
	@${ECHO_CMD}
81
	@${ECHO_CMD} "GDC is built with GCC version '${TARGET_GCC}'."
88
	@${ECHO_CMD} "GDC is built with GCC version '${TARGET_GCC}'."
82
	@${ECHO_CMD}
89
	@${ECHO_CMD}
83
	@${ECHO_CMD} "You can set 'TARGET_GCC' variable to '3.4' or '4.0'."
90
	@${ECHO_CMD} "You can set one of the following variables as TARGET_GCC."
91
	@${ECHO_CMD}
92
	@${ECHO_CMD} " '3.4' , '4.0' , '4.1'"
84
	@${ECHO_CMD}
93
	@${ECHO_CMD}
85
	@${ECHO_CMD} "======================================================="
94
	@${ECHO_CMD} "========================================================="
86
	@${ECHO_CMD}
95
	@${ECHO_CMD}
87
96
88
post-extract:
97
post-extract:
Lines 104-116 Link Here
104
113
105
post-build:
114
post-build:
106
	@${ECHO_CMD}
115
	@${ECHO_CMD}
107
	@${ECHO_CMD} "======================================================="
116
	@${ECHO_CMD} "========================================================="
108
	@${ECHO_CMD}
117
	@${ECHO_CMD}
109
	@${ECHO_CMD} "To test the Phobos run-time library run 'make check'."
118
	@${ECHO_CMD} "To test the Phobos run-time library run 'make check'."
110
	@${ECHO_CMD}
119
	@${ECHO_CMD}
111
	@${ECHO_CMD} "Note that some tests will fail."
120
	@${ECHO_CMD} "Note that some tests will fail."
112
	@${ECHO_CMD}
121
	@${ECHO_CMD}
113
	@${ECHO_CMD} "======================================================="
122
	@${ECHO_CMD} "========================================================="
114
	@${ECHO_CMD}
123
	@${ECHO_CMD}
115
124
116
do-install:
125
do-install:
(-)gdc/distinfo (-9 / +15 lines)
Lines 1-15 Link Here
1
MD5 (gdc-0.21-src.tar.bz2) = 32098080a6ef7dfa19a4223ea9cb05ca
1
MD5 (gdc-0.23-src.tar.bz2) = facee49bd9f7b3c586d4ed96e9682ead
2
SHA256 (gdc-0.21-src.tar.bz2) = c5bef02fb94d508e56990d86ded13da447d4e0664c2c41b037eefae96cd97425
2
SHA256 (gdc-0.23-src.tar.bz2) = 4f642904f93973dc791c93125d1d227cefe0eb47fc39e364d03cda4784c0a38d
3
SIZE (gdc-0.21-src.tar.bz2) = 978636
3
SIZE (gdc-0.23-src.tar.bz2) = 1001644
4
MD5 (gcc-core-3.4.6.tar.bz2) = 5324ace5145b12afd9ca867af7ec084d
4
MD5 (gcc-core-3.4.6.tar.bz2) = 5324ace5145b12afd9ca867af7ec084d
5
SHA256 (gcc-core-3.4.6.tar.bz2) = 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
5
SHA256 (gcc-core-3.4.6.tar.bz2) = 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
6
SIZE (gcc-core-3.4.6.tar.bz2) = 13366790
6
SIZE (gcc-core-3.4.6.tar.bz2) = 13366790
7
MD5 (gcc-g++-3.4.6.tar.bz2) = ef81fd74bc9fd964120af47243a1360f
7
MD5 (gcc-g++-3.4.6.tar.bz2) = ef81fd74bc9fd964120af47243a1360f
8
SHA256 (gcc-g++-3.4.6.tar.bz2) = f186937402752d25317adf2832b0b1d316334e158ae380471ab62509e4ea90b1
8
SHA256 (gcc-g++-3.4.6.tar.bz2) = f186937402752d25317adf2832b0b1d316334e158ae380471ab62509e4ea90b1
9
SIZE (gcc-g++-3.4.6.tar.bz2) = 2511332
9
SIZE (gcc-g++-3.4.6.tar.bz2) = 2511332
10
MD5 (gcc-core-4.0-20061228.tar.bz2) = 395ea3b0c07b42a6eeb41112dd54ea89
10
MD5 (gcc-core-4.0.4.tar.bz2) = 193e0a7a471cca70e374974bc5a60137
11
SHA256 (gcc-core-4.0-20061228.tar.bz2) = cf9c479a1ec99a4dac71f243e5d2d58f556e8e88aac912e51fa5571e516637eb
11
SHA256 (gcc-core-4.0.4.tar.bz2) = e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7
12
SIZE (gcc-core-4.0-20061228.tar.bz2) = 13787783
12
SIZE (gcc-core-4.0.4.tar.bz2) = 15583411
13
MD5 (gcc-g++-4.0-20061228.tar.bz2) = a03201faeeaceb2188125c87404fc560
13
MD5 (gcc-g++-4.0.4.tar.bz2) = 5c79e6af5b49dd9cfd22001f3856f447
14
SHA256 (gcc-g++-4.0-20061228.tar.bz2) = 280297708243d2a3d9f36c0729d4c1267ad9c7390248d3ca0c00832c090816ff
14
SHA256 (gcc-g++-4.0.4.tar.bz2) = c1ff47701a5dc77690fe9e687001546b54f03b7383a89d5b4b11178aaf31f76e
15
SIZE (gcc-g++-4.0-20061228.tar.bz2) = 2721301
15
SIZE (gcc-g++-4.0.4.tar.bz2) = 2698519
16
MD5 (gcc-core-4.1-20070312.tar.bz2) = e2e0c66574f326928a9b4b91aecf4cdc
17
SHA256 (gcc-core-4.1-20070312.tar.bz2) = 5536c8eaab51189d1e8c01ef021967f6b2dd6c75969bbc14da95a0625edd63fb
18
SIZE (gcc-core-4.1-20070312.tar.bz2) = 15252404
19
MD5 (gcc-g++-4.1-20070312.tar.bz2) = dbe6492cb3818f514820be199bb9818f
20
SHA256 (gcc-g++-4.1-20070312.tar.bz2) = 628350c03e00df3b38edd7bbc11db0c9544af05173b54d6394b494397a8d3a12
21
SIZE (gcc-g++-4.1-20070312.tar.bz2) = 3845448
(-)gdc/pkg-plist (-9 / +1 lines)
Lines 45-50 Link Here
45
include/d/%%GCC_VER%%/std/math.d
45
include/d/%%GCC_VER%%/std/math.d
46
include/d/%%GCC_VER%%/std/math2.d
46
include/d/%%GCC_VER%%/std/math2.d
47
include/d/%%GCC_VER%%/std/md5.d
47
include/d/%%GCC_VER%%/std/md5.d
48
include/d/%%GCC_VER%%/std/metastrings.d
48
include/d/%%GCC_VER%%/std/mmfile.d
49
include/d/%%GCC_VER%%/std/mmfile.d
49
include/d/%%GCC_VER%%/std/moduleinit.d
50
include/d/%%GCC_VER%%/std/moduleinit.d
50
include/d/%%GCC_VER%%/std/openrj.d
51
include/d/%%GCC_VER%%/std/openrj.d
Lines 85-91 Link Here
85
include/d/%%GCC_VER%%/std/c/stdlib.d
86
include/d/%%GCC_VER%%/std/c/stdlib.d
86
include/d/%%GCC_VER%%/std/c/string.d
87
include/d/%%GCC_VER%%/std/c/string.d
87
include/d/%%GCC_VER%%/std/c/time.d
88
include/d/%%GCC_VER%%/std/c/time.d
88
include/d/%%GCC_VER%%/std/c/darwin/darwin.d
89
include/d/%%GCC_VER%%/std/c/darwin/ldblcompat.d
89
include/d/%%GCC_VER%%/std/c/darwin/ldblcompat.d
90
include/d/%%GCC_VER%%/std/c/linux/ldblcompat.d
90
include/d/%%GCC_VER%%/std/c/linux/ldblcompat.d
91
include/d/%%GCC_VER%%/std/c/linux/linux.d
91
include/d/%%GCC_VER%%/std/c/linux/linux.d
Lines 101-112 Link Here
101
include/d/%%GCC_VER%%/std/c/windows/windows.d
101
include/d/%%GCC_VER%%/std/c/windows/windows.d
102
include/d/%%GCC_VER%%/std/c/windows/winsock.d
102
include/d/%%GCC_VER%%/std/c/windows/winsock.d
103
include/d/%%GCC_VER%%/std/typeinfo/ti_AC.d
103
include/d/%%GCC_VER%%/std/typeinfo/ti_AC.d
104
include/d/%%GCC_VER%%/std/typeinfo/ti_Aa.d
105
include/d/%%GCC_VER%%/std/typeinfo/ti_Abit.d
104
include/d/%%GCC_VER%%/std/typeinfo/ti_Abit.d
106
include/d/%%GCC_VER%%/std/typeinfo/ti_Acdouble.d
105
include/d/%%GCC_VER%%/std/typeinfo/ti_Acdouble.d
107
include/d/%%GCC_VER%%/std/typeinfo/ti_Acfloat.d
106
include/d/%%GCC_VER%%/std/typeinfo/ti_Acfloat.d
108
include/d/%%GCC_VER%%/std/typeinfo/ti_Acreal.d
107
include/d/%%GCC_VER%%/std/typeinfo/ti_Acreal.d
109
include/d/%%GCC_VER%%/std/typeinfo/ti_Adchar.d
110
include/d/%%GCC_VER%%/std/typeinfo/ti_Adouble.d
108
include/d/%%GCC_VER%%/std/typeinfo/ti_Adouble.d
111
include/d/%%GCC_VER%%/std/typeinfo/ti_Afloat.d
109
include/d/%%GCC_VER%%/std/typeinfo/ti_Afloat.d
112
include/d/%%GCC_VER%%/std/typeinfo/ti_Ag.d
110
include/d/%%GCC_VER%%/std/typeinfo/ti_Ag.d
Lines 114-124 Link Here
114
include/d/%%GCC_VER%%/std/typeinfo/ti_Along.d
112
include/d/%%GCC_VER%%/std/typeinfo/ti_Along.d
115
include/d/%%GCC_VER%%/std/typeinfo/ti_Areal.d
113
include/d/%%GCC_VER%%/std/typeinfo/ti_Areal.d
116
include/d/%%GCC_VER%%/std/typeinfo/ti_Ashort.d
114
include/d/%%GCC_VER%%/std/typeinfo/ti_Ashort.d
117
include/d/%%GCC_VER%%/std/typeinfo/ti_Aubyte.d
118
include/d/%%GCC_VER%%/std/typeinfo/ti_Auint.d
119
include/d/%%GCC_VER%%/std/typeinfo/ti_Aulong.d
120
include/d/%%GCC_VER%%/std/typeinfo/ti_Aushort.d
121
include/d/%%GCC_VER%%/std/typeinfo/ti_Awchar.d
122
include/d/%%GCC_VER%%/std/typeinfo/ti_C.d
115
include/d/%%GCC_VER%%/std/typeinfo/ti_C.d
123
include/d/%%GCC_VER%%/std/typeinfo/ti_bit.d
116
include/d/%%GCC_VER%%/std/typeinfo/ti_bit.d
124
include/d/%%GCC_VER%%/std/typeinfo/ti_byte.d
117
include/d/%%GCC_VER%%/std/typeinfo/ti_byte.d
Lines 155-161 Link Here
155
include/d/%%GCC_VER%%/%%CONF_TARGET%%/gcc/configunix.d
148
include/d/%%GCC_VER%%/%%CONF_TARGET%%/gcc/configunix.d
156
include/d/%%GCC_VER%%/%%CONF_TARGET%%/phobos-ver-syms
149
include/d/%%GCC_VER%%/%%CONF_TARGET%%/phobos-ver-syms
157
lib/libgphobos.a
150
lib/libgphobos.a
158
lib/libgphobos.spec
159
%%PORTDOCS%%%%DOCSDIR%%/GDC.html
151
%%PORTDOCS%%%%DOCSDIR%%/GDC.html
160
%%PORTDOCS%%%%DOCSDIR%%/README.gdc
152
%%PORTDOCS%%%%DOCSDIR%%/README.gdc
161
@dirrm include/d/%%GCC_VER%%/etc/c/zlib
153
@dirrm include/d/%%GCC_VER%%/etc/c/zlib

Return to bug 110953