diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2009-01-03 19:52:17 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2009-01-03 19:52:17 +0000 |
commit | 351d3e3659eddfbf1f90ef6b01fb7dbf2baba632 (patch) | |
tree | 610e53c65db5418c549acc897a303602b1c12eb3 /lang/gcc42 | |
parent | Add option LIBXSLT, off by default, to control the use of libxslt (which (diff) |
Replace CONFLICTS=gcc-2.95.*, which actually is too late to prevent
us running into build problems, by an earlier check (pre-extract).
Suggested by: pav
Notes
Notes:
svn path=/head/; revision=225198
Diffstat (limited to 'lang/gcc42')
-rw-r--r-- | lang/gcc42/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index 95f483fc2487..71c8f4a52863 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/Makefile @@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \ SUFFIX= 42 LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX} NOT_FOR_ARCHS= ia64 -# Building libgcj with lang/gcc295 installed is causing a failure about -# "hidden symbol `__eprintf'" in libgcc.a(_eprintf.o). -CONFLICTS= gcc-2.95.* USE_BISON= build USE_BZIP2= yes USE_GMAKE= yes @@ -127,6 +124,14 @@ PLIST_SUB+= JAVA="@comment " pre-everything:: @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" +pre-extract: + @# Building libgcj with lang/gcc295 installed is causing a failure + @# about "hidden symbol `__eprintf'" in libgcc.a(_eprintf.o). + @if type gcc295 >/dev/null ; then \ + echo "This port will not build in the presence of lang/gcc295."; \ + exit 1; \ + fi + post-patch: @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ ${SRCDIR}/gcc/version.c |