diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2005-03-20 17:53:04 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2005-03-20 17:53:04 +0000 |
commit | 8a0b8a84e924ff1f7abcc4fe5f92144cdb3ccab4 (patch) | |
tree | 4059a498be6022580138b0a220950941691af075 /lang/gcc31 | |
parent | 29b9299658ff947a0c7f3959cff1d1635080dbbf (diff) |
It was discovered that running "make clean" from a port with a dependency
on gcc31 or gcc32 (either with a BUILD_DEPENDS or via USE_GCC) with that
version of gcc already installed causes infinite recursion problems.
The issue stems from gcc31 and gcc32 using USE_GCC internally. Internally,
it was used to override any other definition and say that you can use any
gcc version to build gcc31/gcc32. But that USE_GCC redefinition was causing
recursion errors, so handle the problem instead by just simply undefining
USE_GCC inside the gcc port Makefile itself.
This should make things happy again.
Notes
Notes:
svn path=/head/; revision=131757
Diffstat (limited to 'lang/gcc31')
-rw-r--r-- | lang/gcc31/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 868edb3bcdac..8d651ce6b46b 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -42,8 +42,11 @@ CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure .error You have `USE_GCC' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif -# do not require Gcc 3.1 to compile -- or we have an infinate loop on RELENG_4. -USE_GCC= 2.7+ +# Do not let USE_GCC be set here. We can't hardcode that gcc31 should require +# gcc31 in order to build. Setting USE_GCC at all here causes recursion errors +# when it clobbers the USE_GCC defined by other ports. +.undef USE_GCC + NOMANCOMPRESS= yes # to hard to deal with differences on 5-cur and releng4 .include <bsd.port.pre.mk> |