diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2013-05-13 00:23:02 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2013-05-13 00:23:02 +0000 |
commit | 00770c2bff697663a067377fe8f5de1d45d9169e (patch) | |
tree | 71446c8374427bce20fe1a8c383dc21c32feb563 /lang/gcc46/Makefile | |
parent | 0e333ce13fdd4eefe5a71971147eb1d9a0382fdc (diff) | |
download | ports-00770c2bff697663a067377fe8f5de1d45d9169e.tar.gz ports-00770c2bff697663a067377fe8f5de1d45d9169e.zip |
Notes
Diffstat (limited to 'lang/gcc46/Makefile')
-rw-r--r-- | lang/gcc46/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index c378435eeea2..79f7a3a8685e 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -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@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 |