diff options
author | gerald <gerald@FreeBSD.org> | 2010-01-02 16:11:28 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2010-01-02 16:11:28 +0800 |
commit | 7173ca1664b5ac03f4b00881f76e60b78e8aa624 (patch) | |
tree | 0770da5bab5d3fb4c03ed53acdd8a22ad992bbbf /Mk | |
parent | 08212a81011f2928fbd126649168f42ffddc65fc (diff) | |
download | freebsd-ports-gnome-7173ca1664b5ac03f4b00881f76e60b78e8aa624.tar.gz freebsd-ports-gnome-7173ca1664b5ac03f4b00881f76e60b78e8aa624.tar.zst freebsd-ports-gnome-7173ca1664b5ac03f4b00881f76e60b78e8aa624.zip |
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
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gcc.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 00801785bdd1..811834fb713d 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -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 |