pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler If we need a GCC C++ or Fortran compiler, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e7d0f0e673a7
branches: trunk
changeset: 467526:e7d0f0e673a7
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Feb 02 10:49:26 2004 +0000
description:
If we need a GCC C++ or Fortran compiler, then define USE_GCC_SHLIBS as
all of those programs will link against either libstdc++.so or libg2c.so.
diffstat:
mk/compiler/gcc.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 48decd962c05 -r e7d0f0e673a7 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Mon Feb 02 10:34:00 2004 +0000
+++ b/mk/compiler/gcc.mk Mon Feb 02 10:49:26 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.9 2004/02/02 10:34:00 jlam Exp $
+# $NetBSD: gcc.mk,v 1.10 2004/02/02 10:49:26 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= defined
@@ -95,6 +95,9 @@
. elif !empty(_LANGUAGES.gcc)
_GCC_PKGSRCDIR= ../../lang/gcc
_GCC_DEPENDENCY= gcc>=${_GCC_REQD}:../../lang/gcc
+. if !empty(_LANGUAGES.gcc:Mc++)
+USE_GCC_SHLIB?= yes
+. endif
. endif
.elif defined(_NEED_GCC3)
#
@@ -119,6 +122,7 @@
. elif !empty(_LANGUAGES.gcc:Mc++)
_GCC_PKGSRCDIR+= ../../lang/gcc3-c++
_GCC_DEPENDENCY+= gcc3-c++>=${_GCC_REQD}:../../lang/gcc3-c++
+USE_GCC_SHLIB?= yes
. endif
. if !empty(PKGPATH:Mlang/gcc3-f77)
_IGNORE_GCC3F77= yes
@@ -126,6 +130,7 @@
. elif !empty(_LANGUAGES.gcc:Mfortran)
_GCC_PKGSRCDIR+= ../../lang/gcc3-f77
_GCC_DEPENDENCY+= gcc3-f77>=${_GCC_REQD}:../../lang/gcc3-f77
+USE_GCC_SHLIB?= yes
. endif
.endif
_GCC_DEPENDS= ${_GCC_PKGBASE}>=${_GCC_REQD}
Home |
Main Index |
Thread Index |
Old Index