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
This commit is contained in:
Gerald Pfeifer 2009-01-03 19:59:01 +00:00
parent 351d3e3659
commit ceedb2090e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225199
7 changed files with 56 additions and 21 deletions

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 44
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -150,6 +147,14 @@ pre-everything::
fi
.endif
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

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 43
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -147,6 +144,14 @@ pre-everything::
fi
.endif
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

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 44
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -150,6 +147,14 @@ pre-everything::
fi
.endif
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

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 44
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -150,6 +147,14 @@ pre-everything::
fi
.endif
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

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 44
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -150,6 +147,14 @@ pre-everything::
fi
.endif
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

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 44
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -150,6 +147,14 @@ pre-everything::
fi
.endif
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

View File

@ -28,9 +28,6 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
SUFFIX= 44
LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX}
NOT_FOR_ARCHS= alpha 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
@ -150,6 +147,14 @@ pre-everything::
fi
.endif
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