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

(-)lang/gcc42/Makefile (-5 / +4 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	gcc
4
PORTNAME=	gcc
5
PORTVERSION=	4.2.5.20090325
5
PORTVERSION=	4.2.5.20090325
6
PORTREVISION=	5
6
PORTREVISION=	6
7
CATEGORIES=	lang
7
CATEGORIES=	lang
8
MASTER_SITES=	${MASTER_SITE_GCC}
8
MASTER_SITES=	${MASTER_SITE_GCC}
9
MASTER_SITE_SUBDIR=	snapshots/${VERSIONSTRING}
9
MASTER_SITE_SUBDIR=	snapshots/${VERSIONSTRING}
Lines 23-33 VERSIONSTRING= ${PORTVERSION:C/([0-9]+\. Link Here
23
SUFFIX=		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
23
SUFFIX=		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
24
LATEST_LINK=	gcc${SUFFIX}${PKGNAMESUFFIX}
24
LATEST_LINK=	gcc${SUFFIX}${PKGNAMESUFFIX}
25
NOT_FOR_ARCHS=	arm powerpc
25
NOT_FOR_ARCHS=	arm powerpc
26
USES=		bison iconv
26
USES=		bison gmake iconv perl5
27
USE_BZIP2=	yes
27
USE_BZIP2=	yes
28
USE_GCC=	any
28
USE_CSTD=	gnu89
29
USE_GMAKE=	yes
29
USE_PERL5=	build
30
USE_PERL5_BUILD=yes
31
30
32
PATCH_WRKSRC=	${SRCDIR}
31
PATCH_WRKSRC=	${SRCDIR}
33
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
32
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
(-)lang/gcc44/Makefile (-5 / +4 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	gcc
4
PORTNAME=	gcc
5
PORTVERSION=	4.4.7
5
PORTVERSION=	4.4.7
6
PORTREVISION=	1
6
PORTEPOCH=	1
7
PORTEPOCH=	1
7
CATEGORIES=	lang
8
CATEGORIES=	lang
8
MASTER_SITES=	${MASTER_SITE_GCC}
9
MASTER_SITES=	${MASTER_SITE_GCC}
Lines 22-32 SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9] Link Here
22
LATEST_LINK=	gcc${SUFFIX}${PKGNAMESUFFIX}
23
LATEST_LINK=	gcc${SUFFIX}${PKGNAMESUFFIX}
23
ONLY_FOR_ARCHS=	amd64 i386 sparc64
24
ONLY_FOR_ARCHS=	amd64 i386 sparc64
24
USE_BINUTILS=	yes
25
USE_BINUTILS=	yes
25
USES=		bison iconv
26
USES=		bison gmake iconv perl5
26
USE_BZIP2=	yes
27
USE_BZIP2=	yes
27
USE_GCC=	any
28
USE_PERL5=	build
28
USE_GMAKE=	yes
29
USE_PERL5_BUILD=yes
30
29
31
PATCH_WRKSRC=	${SRCDIR}
30
PATCH_WRKSRC=	${SRCDIR}
32
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
31
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
Lines 44-50 WRKSRC= ${WRKDIR}/build Link Here
44
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
43
TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
45
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
44
LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
46
GNU_CONFIGURE=	yes
45
GNU_CONFIGURE=	yes
47
CFLAGS+=	-I${LOCALBASE}/include
46
CFLAGS+=	-I${LOCALBASE}/include -fgnu89-inline
48
CPPFLAGS+=	-I${LOCALBASE}/include
47
CPPFLAGS+=	-I${LOCALBASE}/include
49
CONFIGURE_ARGS+=--disable-bootstrap \
48
CONFIGURE_ARGS+=--disable-bootstrap \
50
		--disable-nls \
49
		--disable-nls \

Return to bug 181816