aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc47/Makefile
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2014-06-24 14:48:52 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2014-06-24 14:48:52 +0000
commit99bd68b255638fe641f9ec35135154cc01545b3c (patch)
tree1dfba4d413413f0dfbae859414147c910b6cc982 /lang/gcc47/Makefile
parent3742af9fa8c6810843fe86c76f145fcbcabcf102 (diff)
downloadports-99bd68b255638fe641f9ec35135154cc01545b3c.tar.gz
ports-99bd68b255638fe641f9ec35135154cc01545b3c.zip
Notes
Diffstat (limited to 'lang/gcc47/Makefile')
-rw-r--r--lang/gcc47/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 15a653ef26e6..5ceaef2d91fd 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -2,10 +2,11 @@
# $FreeBSD$
PORTNAME= gcc47
-PORTVERSION= 4.7.4.20140419
+PORTVERSION= 4.7.4
+PORTEPOCH= 1
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= snapshots/${DISTVERSION}
+MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION}
DISTNAME= gcc-${DISTVERSION}
MAINTAINER= gerald@FreeBSD.org
@@ -27,10 +28,8 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
CONFLICTS= gcc-4.7.*
# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
-# of executables and directories once installed. A PORTVERSION of
-# 4.Y.2.s20130808 results in values of 4.Y-20130808, 4.Y.2, and 4Y
-# for these three.
-DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\1-\2/}
+# of executables and directories once installed.
+DISTVERSION= ${PORTVERSION}
GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64
@@ -45,7 +44,6 @@ 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
@@ -97,10 +95,11 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ${ARCH} == "i386" || ${ARCH} == "amd64"
+# Release tarballs (as opposed to snapshots) always carry this.
+#.if ${ARCH} == "i386" || ${ARCH} == "amd64"
INFO+= gcc${SUFFIX}/libquadmath \
gcc${SUFFIX}/libitm
-.endif
+#.endif
SUB_FILES= pkg-message
SUB_LIST+= TARGLIB=${TARGLIB}