pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler mk: Remove gcc44 bits



details:   https://anonhg.NetBSD.org/pkgsrc/rev/728cceffa7b8
branches:  trunk
changeset: 449629:728cceffa7b8
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Apr 02 17:04:17 2021 +0000

description:
mk: Remove gcc44 bits

diffstat:

 mk/compiler/gcc.mk |  40 +++++-----------------------------------
 1 files changed, 5 insertions(+), 35 deletions(-)

diffs (97 lines):

diff -r 015411e1da22 -r 728cceffa7b8 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Fri Apr 02 16:54:48 2021 +0000
+++ b/mk/compiler/gcc.mk        Fri Apr 02 17:04:17 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.222 2021/04/02 16:54:48 nia Exp $
+# $NetBSD: gcc.mk,v 1.223 2021/04/02 17:04:17 nia Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -94,7 +94,7 @@
        _IS_BUILTIN_GCC \
        _LANGUAGES.gcc \
        _LINKER_RPATH_FLAG \
-       _NEED_GCC2 _NEED_GCC3 _NEED_GCC34 _NEED_GCC44 \
+       _NEED_GCC2 _NEED_GCC3 _NEED_GCC34 \
        _NEED_GCC6 _NEED_GCC7 _NEED_GCC8 _NEED_GCC9 \
        _NEED_GCC10 \
        _NEED_GCC_AUX _NEED_NEWER_GCC \
@@ -126,7 +126,7 @@
        _PKGSRC_USE_FORTIFY _PKGSRC_USE_RELRO _PKGSRC_USE_STACK_CHECK \
        _OPSYS_INCLUDE_DIRS _OPSYS_LIB_DIRS
 _IGN_VARS.gcc= \
-       _GCC2_PATTERNS _GCC3_PATTERNS _GCC34_PATTERNS _GCC44_PATTERNS \
+       _GCC2_PATTERNS _GCC3_PATTERNS _GCC34_PATTERNS \
        _GCC6_PATTERNS _GCC7_PATTERNS _GCC8_PATTERNS _GCC9_PATTERNS \
        _GCC10_PATTERNS _GCC_AUX_PATTERNS
 _LISTED_VARS.gcc= \
@@ -167,11 +167,8 @@
 # _GCC34_PATTERNS matches N s.t. 3.4 <= N < 4.
 _GCC34_PATTERNS= 3.[4-9] 3.[4-9].* 3.[1-9][0-9]*
 
-# _GCC44_PATTERNS matches N s.t. 4.0 <= N < 4.5.
-_GCC44_PATTERNS= 4.[0-4] 4.[0-4].*
-
 # _GCC6_PATTERNS matches N s.t. 4.5 <= N < 7.
-_GCC6_PATTERNS= 4.[5-9] 4.[5-9]* 5 5.* 6 6.*
+_GCC6_PATTERNS= 4.[0-9] 4.[0-9]* 5 5.* 6 6.*
 
 # _GCC7_PATTERNS matches N s.t. 7.0 <= N < 8.
 _GCC7_PATTERNS= 7 7.*
@@ -306,12 +303,6 @@
 _NEED_GCC34=   yes
 .  endif
 .endfor
-_NEED_GCC44?=  no
-.for _pattern_ in ${_GCC44_PATTERNS}
-.  if !empty(_GCC_REQD:M${_pattern_})
-_NEED_GCC44=   yes
-.  endif
-.endfor
 _NEED_GCC6?=   no
 .for _pattern_ in ${_GCC6_PATTERNS}
 .  if !empty(_GCC_REQD:M${_pattern_})
@@ -350,7 +341,7 @@
 .  endif
 .endfor
 .if !empty(_NEED_GCC2:M[nN][oO]) && !empty(_NEED_GCC3:M[nN][oO]) && \
-    !empty(_NEED_GCC34:M[nN][oO]) && !empty(_NEED_GCC44:M[nN][oO]) && \
+    !empty(_NEED_GCC34:M[nN][oO]) && \
     !empty(_NEED_GCC6:M[nN][oO]) && !empty(_NEED_GCC7:M[nN][oO]) && \
     !empty(_NEED_GCC8:M[nN][oO]) && !empty(_NEED_GCC9:M[nN][oO]) && \
     !empty(_NEED_GCC10:M[nN][oO]) && \
@@ -366,8 +357,6 @@
 LANGUAGES.gcc= c c++ fortran77 java objc
 .elif !empty(_NEED_GCC34:M[yY][eE][sS])
 LANGUAGES.gcc= c c++ fortran77 objc
-.elif !empty(_NEED_GCC44:M[yY][eE][sS])
-LANGUAGES.gcc= c c++ fortran fortran77 java objc
 .elif !empty(_NEED_GCC6:M[yY][eE][sS])
 LANGUAGES.gcc= c c++ fortran fortran77 go java objc obj-c++
 .elif !empty(_NEED_GCC7:M[yY][eE][sS])
@@ -510,25 +499,6 @@
 _USE_GCC_SHLIB?=       yes
 .    endif
 .  endif
-.elif !empty(_NEED_GCC44:M[yY][eE][sS])
-#
-# We require gcc-4.4.x in the lang/gcc44 directory.
-#
-_GCC_PKGBASE=          gcc44
-.  if ${PKGPATH} == lang/gcc44
-_IGNORE_GCC=           yes
-MAKEFLAGS+=            _IGNORE_GCC=yes
-.  endif
-.  if !defined(_IGNORE_GCC) && !empty(_LANGUAGES.gcc)
-_GCC_PKGSRCDIR=                ../../lang/gcc44
-_GCC_DEPENDENCY=       gcc44>=${_GCC_REQD}:../../lang/gcc44
-.    if !empty(_LANGUAGES.gcc:Mc++) || \
-        !empty(_LANGUAGES.gcc:Mfortran) || \
-        !empty(_LANGUAGES.gcc:Mfortran77) || \
-        !empty(_LANGUAGES.gcc:Mobjc)
-_USE_GCC_SHLIB?=       yes
-.    endif
-.  endif
 .elif !empty(_NEED_GCC6:M[yY][eE][sS])
 #
 # We require gcc-6.x in the lang/gcc6-* directory.



Home | Main Index | Thread Index | Old Index