mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Add a run-time dependency for all uses of lang/gcc* except for gcc34
which is subsumbed by later versions. This is needed for libstdc++ and other core run-time libraries. PR: 129518, 142226
This commit is contained in:
parent
4bac676caa
commit
05145f810f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246979
@ -186,7 +186,7 @@ _USE_GCC:=${_GCC_FOUND}
|
||||
|
||||
#
|
||||
# Determine if the installed OS already has this GCCVERSION, and if not
|
||||
# then set BUILD_DEPENDS, CC, and CXX.
|
||||
# then set proper dependencies, CC, and CXX.
|
||||
#
|
||||
.for v in ${GCCVERSIONS}
|
||||
. if ${_USE_GCC} == ${_GCCVERSION_${v}_V}
|
||||
@ -203,6 +203,9 @@ CXX:= g++${V}
|
||||
|
||||
.if defined(_GCC_BUILD_DEPENDS)
|
||||
BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
|
||||
. if ${_USE_GCC} != 3.4
|
||||
RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user