Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 01:38:39 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325321 - head/lang/gcc48
Message-ID:  <201308250138.r7P1cdZa016999@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Aug 25 01:38:39 2013
New Revision: 325321
URL: http://svnweb.freebsd.org/changeset/ports/325321

Log:
  Introduce a new option BOOTSTRAP that allows switching between a
  full bootstrap of GCC and just running a simple build.
  
  Bootstrapping is the default upstream, and for very stable and old
  flavors of GCC we disable this by default since that is a huge win
  in terms of build time of the port.  No change in default behavior
  for this port -- for the time being we continue to bootstrap.
  
  Update to the 20130822 snapshot of GCC 4.8.2.

Modified:
  head/lang/gcc48/Makefile
  head/lang/gcc48/distinfo

Modified: head/lang/gcc48/Makefile
==============================================================================
--- head/lang/gcc48/Makefile	Sat Aug 24 23:48:01 2013	(r325320)
+++ head/lang/gcc48/Makefile	Sun Aug 25 01:38:39 2013	(r325321)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gcc
-PORTVERSION=	4.8.2.s20130815
+PORTVERSION=	4.8.2.s20130822
 CATEGORIES=	lang java
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR=	snapshots/${DISTVERSION}
@@ -37,10 +37,13 @@ USE_PERL5_BUILD=yes
 PATCH_WRKSRC=	${SRCDIR}
 CONFIGURE_SCRIPT=	../${SRCDIR:S/${WRKDIR}\///}/configure
 
+OPTIONS_DEFINE=		BOOTSTRAP
 OPTIONS_DEFINE_i386=	JAVA
 OPTIONS_DEFINE_amd64=	JAVA
+OPTIONS_DEFAULT=	BOOTSTRAP
 OPTIONS_DEFAULT_i386=	JAVA
 OPTIONS_DEFAULT_amd64=	JAVA
+BOOTSTRAP_DESC=		Build using a full bootstrap
 
 .include <bsd.port.pre.mk>
 
@@ -61,6 +64,11 @@ TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
 LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
+.if empty(PORT_OPTIONS:MBOOTSTRAP)
+CONFIGURE_ARGS+=--disable-bootstrap
+.else
+ALL_TARGET=	bootstrap-lean
+.endif
 CONFIGURE_ARGS+=--disable-nls \
 		--libdir=${TARGLIB} \
 		--libexecdir=${LIBEXEC} \
@@ -73,7 +81,6 @@ CONFIGURE_ARGS+=--disable-nls \
 		--with-pkgversion="FreeBSD Ports Collection" \
 		--with-system-zlib
 MAKE_ARGS+=	MAKEINFOFLAGS="--no-split"
-ALL_TARGET=	bootstrap-lean
 USE_LDCONFIG=	${TARGLIB}
 PLIST_SUB=	GCC_VERSION=${GCC_VERSION} \
 		GNU_HOST=${CONFIGURE_TARGET} \

Modified: head/lang/gcc48/distinfo
==============================================================================
--- head/lang/gcc48/distinfo	Sat Aug 24 23:48:01 2013	(r325320)
+++ head/lang/gcc48/distinfo	Sun Aug 25 01:38:39 2013	(r325321)
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.8-20130815.tar.bz2) = 98839a700c0ab8a005a18d7704ef5fa553d3ce5771aa357480b11b5cce94389e
-SIZE (gcc-4.8-20130815.tar.bz2) = 81708695
+SHA256 (gcc-4.8-20130822.tar.bz2) = 2499c8adaa5c73dee6ff40f2801661c2b02b462e206e6fb83d3da70757793e61
+SIZE (gcc-4.8-20130822.tar.bz2) = 81718564



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308250138.r7P1cdZa016999>