aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc33
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2004-05-04 02:23:39 +0800
committergerald <gerald@FreeBSD.org>2004-05-04 02:23:39 +0800
commitca43c2cfde91753f7f6b7d6a3315322d1ada5230 (patch)
treefcb946beb0d915f22af56b62cffc64bec3f8e1eb /lang/gcc33
parent61fdb8c1ef33773f00992711f9659194f9c22147 (diff)
downloadfreebsd-ports-graphics-ca43c2cfde91753f7f6b7d6a3315322d1ada5230.tar.gz
freebsd-ports-graphics-ca43c2cfde91753f7f6b7d6a3315322d1ada5230.tar.zst
freebsd-ports-graphics-ca43c2cfde91753f7f6b7d6a3315322d1ada5230.zip
Remove support for WITH_BOUNDSCHECKING which was broken most of the time
(due to the 3.3 branch moving quite a bit between releases). PR: 64959
Diffstat (limited to 'lang/gcc33')
-rw-r--r--lang/gcc33/Makefile26
1 files changed, 1 insertions, 25 deletions
diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile
index 13179fb9569..63025dd5156 100644
--- a/lang/gcc33/Makefile
+++ b/lang/gcc33/Makefile
@@ -12,8 +12,7 @@ PORTVERSION= 3.3.4
PORTREVISION= ${SNAPDATE:S/-//g}
CATEGORIES= lang java
VERSIONSTRING= 3.3-${PORTREVISION}
-MASTER_SITES= ${MASTER_SITE_GCC} \
- http://web.inter.NL.net/hcc/Haj.Ten.Brugge/:bc
+MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
DISTFILES= \
gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
@@ -26,14 +25,6 @@ DISTFILES= \
MAINTAINER?= gerald@FreeBSD.org
COMMENT?= GNU Compiler Collection 3.3
-.if defined (WITH_BOUNDSCHECKING)
-# Fetch another file, but don't extract it. Also add another patchfile.
-BCPATCH= bounds-checking-gcc-3.3.3-1.00.patch.bz2
-DISTFILES+= ${BCPATCH}:bc
-EXTRACT_ONLY= ${DISTFILES:S/${BCPATCH}:bc//}
-EXTRA_PATCHES= ${FILESDIR}/opt.patch-bc
-.endif
-
LATEST_LINK?= gcc33${PKGNAMESUFFIX}
USE_BISON= yes
@@ -106,21 +97,6 @@ pre-everything::
.if defined(WITHOUT_LIBJAVA)
@${ECHO_MSG} "(without libgcj)"
.endif
-.if !defined(WITH_BOUNDSCHECKING)
-# @${ECHO_MSG} "You can enable fine-grained bounds-checking support for compiled C programs"
-# @${ECHO_MSG} "by defining WITH_BOUNDSCHECKING. Compile and link with \"-fbounds-checking\""
-# @${ECHO_MSG} "to use."
-.endif
-
-.if defined(WITH_BOUNDSCHECKING)
-# Extract bounds-checking patch, removing the ada parts of the patch with sed.
-pre-patch:
- cd ${_DISTDIR} ; \
- ${BZCAT} ${BCPATCH} | \
- ${SED} -e '/^--- .*ada/,/^diff/d' | \
- ${SED} -e '/^--- .*parse.h/,/^diff/d' | \
- ${PATCH} -d ${PATCH_WRKSRC} -E -p1 --quiet
-.endif
post-patch:
@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \