1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Remove WITH_BOUNDSCHECKING knob, as the patch disappeared upstream and

GCC 3.3 with a current bounds checking patch should be better anyways.

Reported by:	trevor
This commit is contained in:
Gerald Pfeifer 2004-03-13 18:05:38 +00:00
parent c05d2f03e7
commit b00eb5246b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103890
2 changed files with 0 additions and 26 deletions

View File

@ -23,14 +23,6 @@ DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
MAINTAINER?= gerald@FreeBSD.org
COMMENT?= GNU Compiler Collection 3.2.3
.if defined (WITH_BOUNDSCHECKING)
# Fetch another file, but don't extract it. Also add another patchfile.
BCPATCH= bounds-checking-gcc-3.2.3-1.01.patch.bz2
DISTFILES+= ${BCPATCH}:bc
EXTRACT_ONLY= ${DISTFILES:S/${BCPATCH}:bc//}
EXTRA_PATCHES= ${FILESDIR}/opt.patch-bc
.endif
LATEST_LINK?= gcc32${PKGNAMESUFFIX}
USE_BZIP2= yes
@ -85,23 +77,6 @@ MAN1= cpp32.1 g++32.1 g77-32.1 gcc32.1 gcov32.1 \
jcf-dump32.1 jv-scan32.1 jv-convert.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
pre-fetch:
@${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${CONFIGURE_TARGET}"
.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' | \
${PATCH} -d ${PATCH_WRKSRC} -E -p1 --quiet
.endif
pre-configure:
cd ${SRCDIR} ; contrib/gcc_update --touch
@${RM} -f ${SRCDIR}/gcc/*/*.info*

View File

@ -4,4 +4,3 @@ MD5 (gcc-g++-3.2.3.tar.bz2) = ebb7932d0dc526b10c222a22cc02f180
MD5 (gcc-g77-3.2.3.tar.bz2) = 8bea8cf9734995738552d90cf3f80b62
MD5 (gcc-java-3.2.3.tar.bz2) = 9cf2c5162a582705c1cae06c206e06de
MD5 (gcc-objc-3.2.3.tar.bz2) = eaca8b22d4ef2b42b84b877edbdf896b
MD5 (bounds-checking-gcc-3.2.3-1.01.patch.bz2) = d1cbfed54d714c69ab09042807c591f9