aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc46/Makefile
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2004-02-20 06:12:30 +0800
committergerald <gerald@FreeBSD.org>2004-02-20 06:12:30 +0800
commitd110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd (patch)
treefbae9e12da66fd12c6a36907c164347af98cc66a /lang/gcc46/Makefile
parent39a12a2d7db289d1948e21c54d87c13c62916007 (diff)
downloadfreebsd-ports-gnome-d110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd.tar.gz
freebsd-ports-gnome-d110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd.tar.zst
freebsd-ports-gnome-d110315feb30ee6fd8bcbe7ed6a8b02d0709bdbd.zip
Adopt this port and update to the 2004-02-18 snapshot of GCC 3.4.
Given that I am now responsible for snapshot generation on gcc.gnu.org, remove the feature to obtain sources from GCC CVS. Mark broken on amd64 (which used to be called x86_64).
Diffstat (limited to 'lang/gcc46/Makefile')
-rw-r--r--lang/gcc46/Makefile39
1 files changed, 6 insertions, 33 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index c58555933037..a72dee387e01 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -5,18 +5,16 @@
#
# $FreeBSD$
#
-SNAPDATE= 2004-02-11
+SNAPDATE= 2004-02-18
PORTNAME= gcc
PORTVERSION= 3.4.0
-PORTREVISION= 1
PORTREVISION= ${SNAPDATE:S/-//g}
CATEGORIES= lang java
VERSIONSTRING= 3.4-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC} \
http://web.inter.NL.net/hcc/Haj.Ten.Brugge/:bc
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
-.if !defined(CVS_DATE)
DISTFILES= \
gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
@@ -24,9 +22,8 @@ DISTFILES= \
gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
-.endif
-MAINTAINER?= ports@FreeBSD.org
+MAINTAINER?= gerald@FreeBSD.org
COMMENT?= GNU Compiler Collection 3.4
LATEST_LINK?= gcc34${PKGNAMESUFFIX}
@@ -44,6 +41,10 @@ NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+BROKEN= "Configure broken due to renaming this architecture from x86_84."
+.endif
+
.if ${ARCH} == sparc64
BROKEN= "libgcj is not supported/packaging is broken on this platform"
.endif
@@ -95,34 +96,6 @@ INFO= cpp cppinternals g77 gcc gccinstall gccint gcj fastjar
pre-everything::
@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${CONFIGURE_TARGET}"
-.if defined(CVS_DATE)
-NO_CHECKSUM= yes
-DIST_SUBDIR= ${PKGNAME}
-CVS_CMD?= cvs -z3 -qR
-CVSROOT= :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc
-STAMPFILE= ${DISTDIR}/${DIST_SUBDIR}/.timestamp
-do-fetch:
- @if [ ! -e ${STAMPFILE} ] || \
- [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
- ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
- cd ${DISTDIR}/${DIST_SUBDIR} ; \
- unset CVS_RSH CVS_SERVER || ${TRUE} ; \
- ${ECHO_MSG} ">> Attempting to CVS checkout from ${CVSROOT}." ;\
- if ${CVS_CMD} -d ${CVSROOT} co -D "${CVS_DATE}" gcc ; \
- then \
- ( ${ECHO_CMD} -n "${CVS_DATE}" > ${STAMPFILE} ) ; \
- exit ; \
- fi ; \
- ${ECHO_MSG} ">> Couldn't CVS checkout ${PKGNAME}." ; \
- ${ECHO_MSG} ">> Please try again later."; \
- exit 1; \
- fi
-
-do-extract:
- ${MKDIR} ${SRCDIR}
- cd ${DISTDIR}/${DIST_SUBDIR}/${DIST_SUBDIR ; ${PAX} -pe -rwt . ${SRCDIR}
-.endif # CVS_DATE
-
post-patch:
@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
${SRCDIR}/gcc/version.c