svn commit: r317986 - head/lang/gcc46
Gerald Pfeifer
gerald at FreeBSD.org
Mon May 13 00:23:03 UTC 2013
Author: gerald
Date: Mon May 13 00:23:02 2013
New Revision: 317986
URL: http://svnweb.freebsd.org/changeset/ports/317986
Log:
Update to GCC 4.6.4, the final release and end of the GCC 4.6 branch.
(This requires an EPOCH bump due to how snapshots are labeled.)
Introduce a new option BOOTSTRAP that allows for doing a full
bootstrap of GCC, as opposed to just running a simple build.
Bootstrapping is actually the default upstream, we disable it
by default for the stable flavors of GCC since that is a huge
win in terms of build time of the port. No change in default
behavior for this port.
Modified:
head/lang/gcc46/Makefile
head/lang/gcc46/distinfo
Modified: head/lang/gcc46/Makefile
==============================================================================
--- head/lang/gcc46/Makefile Mon May 13 00:08:14 2013 (r317985)
+++ head/lang/gcc46/Makefile Mon May 13 00:23:02 2013 (r317986)
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 4.6.4.20130215
+PORTVERSION= 4.6.4
+PORTEPOCH= 1
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
-DISTNAME= gcc-${VERSIONSTRING}
+MASTER_SITE_SUBDIR= releases/gcc-${VERSIONSTRING}
MAINTAINER= gerald at FreeBSD.org
COMMENT= GNU Compiler Collection 4.6
@@ -25,7 +25,7 @@ CONFLICTS= gcc-4.6.[123]*
# VERSIONSTRING relates to downloads, GCC_VERSION and SUFFIX to names
# of executables and directories once installed.
-VERSIONSTRING= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\1-\2/}
+VERSIONSTRING= ${PORTVERSION}
GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX}
@@ -40,10 +40,12 @@ MAKE_JOBS_SAFE= yes
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure
+OPTIONS_DEFINE= BOOTSTRAP
OPTIONS_DEFINE_i386= JAVA
OPTIONS_DEFINE_amd64= JAVA
OPTIONS_DEFAULT_i386= JAVA
OPTIONS_DEFAULT_amd64= JAVA
+BOOTSTRAP_DESC= Build using a full bootstrap
.include <bsd.port.pre.mk>
@@ -60,8 +62,10 @@ TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ARGS+=--disable-bootstrap \
- --disable-nls \
+.if empty(PORT_OPTIONS:MBOOTSTRAP)
+CONFIGURE_ARGS+=--disable-bootstrap
+.endif
+CONFIGURE_ARGS+=--disable-nls \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
--program-suffix=${SUFFIX} \
@@ -89,9 +93,10 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
+# Release tarballs (as opposed to snapshots) always carry this.
+#.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
INFO+= gcc${SUFFIX}/libquadmath
-.endif
+#.endif
.if ${PORT_OPTIONS:MJAVA}
ECJ_JAR= ${LOCALBASE}/share/java/ecj-4.5.jar
Modified: head/lang/gcc46/distinfo
==============================================================================
--- head/lang/gcc46/distinfo Mon May 13 00:08:14 2013 (r317985)
+++ head/lang/gcc46/distinfo Mon May 13 00:23:02 2013 (r317986)
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.6-20130215.tar.bz2) = ba09fa687b5f55527952c11b588de359868a9257b7bf4271d1d575a441fd2f1a
-SIZE (gcc-4.6-20130215.tar.bz2) = 68134979
+SHA256 (gcc-4.6.4.tar.bz2) = 35af16afa0b67af9b8eb15cafb76d2bc5f568540552522f5dc2c88dd45d977e8
+SIZE (gcc-4.6.4.tar.bz2) = 72006076
More information about the svn-ports-all
mailing list