summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorryoon <ryoon>2015-01-01 01:33:05 +0000
committerryoon <ryoon>2015-01-01 01:33:05 +0000
commitb937d7bf323a6f364548943817558e23533c43c7 (patch)
tree13d5871e0337930fee8acd8c5618a2272423b529 /mk/compiler
parent9ba52fc9201b2c53a70e95d4bdcb39785e0196d6 (diff)
downloadpkgsrc-b937d7bf323a6f364548943817558e23533c43c7.tar.gz
Add gcc46-libs support code.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/gcc.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 8e0c47a880c..1672f0e7693 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.153 2014/11/03 13:06:39 ryoon Exp $
+# $NetBSD: gcc.mk,v 1.154 2015/01/01 01:33:05 ryoon Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -825,7 +825,9 @@ PREPEND_PATH+= ${_GCC_DIR}/bin
.if (defined(_USE_GCC_SHLIB) && !empty(_USE_GCC_SHLIB:M[Yy][Ee][Ss])) && !empty(USE_PKGSRC_GCC_RUNTIME:M[Yy][Ee][Ss])
# Special case packages which are themselves a dependency of gcc runtime.
. if empty(PKGPATH:Mdevel/libtool-base) && empty(PKGPATH:Mdevel/binutils) && empty(PKGPATH:Mlang/gcc??)
-. if !empty(CC_VERSION:Mgcc-4.7*)
+. if !empty(CC_VERSION:Mgcc-4.6*)
+. include "../../lang/gcc46-libs/buildlink3.mk"
+. elif !empty(CC_VERSION:Mgcc-4.7*)
. include "../../lang/gcc47-libs/buildlink3.mk"
. elif !empty(CC_VERSION:Mgcc-4.8*)
. include "../../lang/gcc48-libs/buildlink3.mk"