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

(-)Makefile (+11 lines)
Lines 8-13 Link Here
8
8
9
PORTNAME=	gcc
9
PORTNAME=	gcc
10
PORTVERSION=	4.5.1.20100422
10
PORTVERSION=	4.5.1.20100422
11
PORTREVISION=	1
11
CATEGORIES=	lang java
12
CATEGORIES=	lang java
12
MASTER_SITES=	${MASTER_SITE_GCC}
13
MASTER_SITES=	${MASTER_SITE_GCC}
13
MASTER_SITE_SUBDIR=	snapshots/${VERSIONSTRING}
14
MASTER_SITE_SUBDIR=	snapshots/${VERSIONSTRING}
Lines 43-50 Link Here
43
PATCH_WRKSRC=	${SRCDIR}
44
PATCH_WRKSRC=	${SRCDIR}
44
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
45
CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
45
46
47
OPTIONS=	LTO	"Enable link-time optimization"	off
48
46
.include <bsd.port.pre.mk>
49
.include <bsd.port.pre.mk>
47
50
51
.if defined(WITH_LTO)
52
LIB_DEPENDS+=	elf.0:${PORTSDIR}/devel/libelf
53
CONFIGURE_ARGS+=	--with-libelf=${LOCALBASE} \
54
			--enable-lto=yes
55
.else
56
CONFIGURE_ARGS+=	--enable-lto=no
57
.endif
58
48
.if ${ARCH} != i386 && ${ARCH} != amd64
59
.if ${ARCH} != i386 && ${ARCH} != amd64
49
WITHOUT_JAVA=	yes
60
WITHOUT_JAVA=	yes
50
.endif
61
.endif

Return to bug 146055