Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 01:56:59 +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: r302041 - head/lang/gcc
Message-ID:  <201208050156.q751uxAI022419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Aug  5 01:56:58 2012
New Revision: 302041
URL: http://svn.freebsd.org/changeset/ports/302041

Log:
  Just build, do not bootstrap, this stable, default version of GCC
  in our ports tree.  This speeds up a full port/package test cycle
  by 31% on a 4-core system; a simple build/install will benefit even
  more.
  
  (This may impact compile time by this compiler a bit, depending on
  how well the system compiler optimizes this codebase.  And we only
  should do this for stable, established versions of GCC.)
  
  Remove ABI version numbers for all library dependencies.

Modified:
  head/lang/gcc/Makefile

Modified: head/lang/gcc/Makefile
==============================================================================
--- head/lang/gcc/Makefile	Sun Aug  5 00:31:46 2012	(r302040)
+++ head/lang/gcc/Makefile	Sun Aug  5 01:56:58 2012	(r302041)
@@ -16,9 +16,9 @@ DISTFILES=	gcc-${VERSIONSTRING}${EXTRACT
 MAINTAINER=	gerald@FreeBSD.org
 COMMENT=	GNU Compiler Collection 4.6
 
-LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp \
-		mpfr.4:${PORTSDIR}/math/mpfr \
-		mpc.2:${PORTSDIR}/math/mpc
+LIB_DEPENDS=	gmp:${PORTSDIR}/math/gmp \
+		mpfr:${PORTSDIR}/math/mpfr \
+		mpc:${PORTSDIR}/math/mpc
 RUN_DEPENDS+=	${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
 
 .if defined(MAINTAINER_MODE)
@@ -64,7 +64,8 @@ TARGLIB=	${PREFIX}/lib/gcc${SUFFIX}
 LIBEXEC=	${PREFIX}/libexec/gcc${SUFFIX}
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
-CONFIGURE_ARGS+=--disable-nls \
+CONFIGURE_ARGS+=--disable-bootstrap \
+		--disable-nls \
 		--enable-languages=c,c++,objc,fortran \
 		--libdir=${TARGLIB} \
 		--libexecdir=${LIBEXEC} \
@@ -77,7 +78,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} \



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