svn commit: r325321 - head/lang/gcc48
Gerald Pfeifer
gerald at FreeBSD.org
Sun Aug 25 01:38:40 UTC 2013
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
More information about the svn-ports-head
mailing list