diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2013-08-25 01:38:39 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2013-08-25 01:38:39 +0000 |
commit | 3f7e4615cfb6a898a47092d5768d99f7ca8f30b6 (patch) | |
tree | f3d573b2162d695b987c52533dfb8c9447ce4b4d /lang/gcc48 | |
parent | Update to 5.68 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=325321
Diffstat (limited to 'lang/gcc48')
-rw-r--r-- | lang/gcc48/Makefile | 11 | ||||
-rw-r--r-- | lang/gcc48/distinfo | 4 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 33c7638fdcf1..64c497bac842 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -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} \ diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo index 5aad220af8c1..1d7d6b95f8b0 100644 --- a/lang/gcc48/distinfo +++ b/lang/gcc48/distinfo @@ -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 |