1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Makefile clean up: remove old gcc version checking.

PR:		ports/84926
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2005-09-04 12:55:45 +00:00
parent 983ae7c2d9
commit 682c652078
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141905

View File

@ -53,28 +53,15 @@ post-patch:
.endif
.endif
# Generator needs GCC 2.95.x or GCC >= 3.4.2 to work properly.
# Generator does not automatically determine the GCC version.
.if ${OSVERSION} < 400012
# GCC < 2.95 is in the base system.
USE_GCC= 2.95
.endif
.if ${OSVERSION} >= 500035 && ${OSVERSION} < 502126
# GCC > 2.95 (3.X) && GCC < 3.4.2 is in the base system.
USE_GCC= 3.4
.endif
.if ${OSVERSION} < 500035
.if defined(WITH_OPTIMIZED_CFLAGS)
. if ${OSVERSION} < 500035
CONFIGURE_ARGS+= --with-gcc=2
.endif
.if ${OSVERSION} >= 500035
. elif ${OSVERSION} >= 500035
CONFIGURE_ARGS+= --with-gcc=3
.endif
.if defined(WITHOUT_OPTIMIZED_CFLAGS)
. endif
.else
CONFIGURE_ARGS+= --without-gcc
.endif