pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel libtool*: update to 2.4.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/328d8cc6efee
branches:  trunk
changeset: 382360:328d8cc6efee
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jul 26 16:15:26 2022 +0000

description:
libtool*: update to 2.4.7

* Noteworthy changes in release 2.4.7 (2022-03-16) [stable]

** New features:

  - Libtool script now supports (configure-time and runtime) ARFLAGS
    variable, which obsoletes AR_FLAGS.  This is due to naming conventions
    among other *FLAGS and to be consistent with Automake's ARFLAGS.

  - Gnulib testsuite is enabled and run during 'make check'.

  - Support the Windows version of the Intel C Compiler (icl) in
    libtool script.

  - Pass '-fsanitize=*' flags for GCC and LLVM, and '-specs=*' for GCC
    to linker.

  - Pass '-Xassembler=*' and '-Wa,*' flag to compilers and linkers.

  - The variable 'FILECMD' with default value of '/usr/bin/file' was used to
    replace existing hard coded references to '/usr/bin/file'.

  - Add MidnightBSD support.

** Important incompatible changes:

  - Libtool changed ARFLAGS/AR_FLAGS default from 'cru' to 'cr'.

  - Do not pass '-pthread' to Solaris linker.

  - 'libtool' and 'libtoolize' scripts now use '#! /usr/bin/env sh' shebang.
    Previously '#! /bin/sh' was used, which presents challenges for
    containerized environments.

** Bug fixes:

  - Fix significant slowdown of libtoolize for certain projects (regression
    introduced in 2.4.3 release) caused by infinite m4 macro recursion.

  - Mitigate the slowdown of libtool script (introduced in v2.4.3) caused by
    increased number of calls to '$SED $sed_quote_subst' (bug#20006).

  - Properly parse and export TLS symbols on AIX.

  - Various bug fixes surrounding use of 'sed'.

  - Darwin systems set proper "allow undefined" flag on OSX 11, and
    PowerPC 10.5.

  - Removed some deprecated tests related to 'Makefile.inc' files.

diffstat:

 devel/libtool-base/Makefile                     |      5 +-
 devel/libtool-fortran/Makefile                  |      3 +-
 devel/libtool-info/Makefile                     |      3 +-
 devel/libtool/Makefile                          |      5 +-
 devel/libtool/Makefile.common                   |      4 +-
 devel/libtool/distinfo                          |     14 +-
 devel/libtool/patches/manual-funclib.sh         |      6 +-
 devel/libtool/patches/manual-libtool.m4         |     97 +-
 devel/libtool/patches/manual-ltdl.m4            |      6 +-
 devel/libtool/patches/manual-ltmain.in          |     38 +-
 devel/libtool/patches/patch-build-aux_ltmain.sh |     42 +-
 devel/libtool/patches/patch-configure           |  15627 +++++++++++++++++++++-
 devel/libtool/patches/patch-libltdl_configure   |   9784 +++++++++++++-
 13 files changed, 25019 insertions(+), 615 deletions(-)

diffs (truncated from 26686 to 300 lines):

diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool-base/Makefile
--- a/devel/libtool-base/Makefile       Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool-base/Makefile       Tue Jul 26 16:15:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.122 2022/06/28 11:31:48 wiz Exp $
+# $NetBSD: Makefile,v 1.123 2022/07/26 16:15:26 wiz Exp $
 
 ###########################################################################
 ###########################################################################
@@ -31,7 +31,6 @@
 .include "../../devel/libtool/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/-/-base-/}
-PKGREVISION=   4
 
 COMMENT=       Generic shared library support script (the script itself)
 
@@ -62,6 +61,8 @@
 
 USE_TOOLS+=            echo
 
+REPLACE_SH+=   libtoolize.in
+
 .PHONY: fix-libtool
 fix-libtool:
        cd ${WRKSRC}; for f in libtool; do                              \
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool-fortran/Makefile
--- a/devel/libtool-fortran/Makefile    Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool-fortran/Makefile    Tue Jul 26 16:15:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2022/06/28 11:31:48 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2022/07/26 16:15:27 wiz Exp $
 
 ###########################################################################
 ###########################################################################
@@ -33,7 +33,6 @@
 FILESDIR=      ${.CURDIR}/../libtool-base/files
 
 PKGNAME=       ${DISTNAME:S/-/-fortran-/}
-PKGREVISION=   3
 
 COMMENT=       Generic shared library support script (the script itself, incl. Fortran)
 
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool-info/Makefile
--- a/devel/libtool-info/Makefile       Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool-info/Makefile       Tue Jul 26 16:15:26 2022 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2014/10/09 13:44:37 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.21 2022/07/26 16:15:27 wiz Exp $
 
 .include "../../devel/libtool/Makefile.common"
 
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool/Makefile
--- a/devel/libtool/Makefile    Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool/Makefile    Tue Jul 26 16:15:26 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2022/06/28 11:31:47 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2022/07/26 16:15:26 wiz Exp $
 
-META_PACKAGE=  # empty
+META_PACKAGE=  yes
 
-PKGREVISION= 2
 .include "Makefile.common"
 
 DEPENDS+=      ${DISTNAME:S/-/-base-/}{,nb[0-9]*}:../../devel/libtool-base
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool/Makefile.common
--- a/devel/libtool/Makefile.common     Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool/Makefile.common     Tue Jul 26 16:15:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.85 2020/01/18 23:30:33 rillig Exp $
+# $NetBSD: Makefile.common,v 1.86 2022/07/26 16:15:26 wiz Exp $
 # used by devel/libltdl/Makefile
 # used by devel/libtool-base/Makefile
 # used by devel/libtool-fortran/Makefile
@@ -32,7 +32,7 @@
 ###########################################################################
 ###########################################################################
 
-DISTNAME=      libtool-2.4.6
+DISTNAME=      libtool-2.4.7
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
 CATEGORIES=    devel pkgtools
 MASTER_SITES=  ${MASTER_SITE_GNU:=libtool/}
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool/distinfo
--- a/devel/libtool/distinfo    Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool/distinfo    Tue Jul 26 16:15:26 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.107 2021/10/26 10:15:29 nia Exp $
+$NetBSD: distinfo,v 1.108 2022/07/26 16:15:26 wiz Exp $
 
-BLAKE2s (libtool-2.4.6.tar.gz) = 832d8f361eed1e02b8eda8bcec4e4780500e9bb70e77e33ee7375c4ca2dced97
-SHA512 (libtool-2.4.6.tar.gz) = 3233d81cb2739a54b840a0a82064eebbfaa4fb442fb993a35d6bd41d8395c51f038c90ae048b9252f172d0a5bbfb4b36e2b13d4477001f9ff7d4124237819a18
-Size (libtool-2.4.6.tar.gz) = 1806697 bytes
+BLAKE2s (libtool-2.4.7.tar.gz) = ae08c74a0da41b3ae252b207ff642d594648edc9c1af41b0191b899d844fecf7
+SHA512 (libtool-2.4.7.tar.gz) = 27acef46d9eb67203d708b57d80b853f76fa4b9c2720ff36ec161e6cdf702249e7982214ddf60bae75511aa79bc7d92aa27e3eab7ef9c0f5c040e8e42e76a385
+Size (libtool-2.4.7.tar.gz) = 1938886 bytes
 SHA1 (patch-Makefile.in) = 0adb634335acd5fb280c99b5d43ae568018ca0af
 SHA1 (patch-build-aux_depcomp) = ae6f93ad4fac1df648cfcb62601c72f9ebb30233
-SHA1 (patch-build-aux_ltmain.sh) = 110c3976ccdc2a69c34001923427e47e9c4b3b37
-SHA1 (patch-configure) = 30b05f8f258b3e16abf7daadb9d59cce9dbd9976
-SHA1 (patch-libltdl_configure) = 73cc33d5ce0a91c7cd976d4a386e17d69d377c24
+SHA1 (patch-build-aux_ltmain.sh) = 0cf9b87586f9e3e38ea3cc5b145c080b0c7bd940
+SHA1 (patch-configure) = ef16440d8fd726bea7dee71fc0eb04b2e305b6e5
+SHA1 (patch-libltdl_configure) = 05dc719a11c557173d12cd76787f593bd5950e48
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool/patches/manual-funclib.sh
--- a/devel/libtool/patches/manual-funclib.sh   Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool/patches/manual-funclib.sh   Tue Jul 26 16:15:26 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: manual-funclib.sh,v 1.1 2017/03/06 16:14:07 jperkin Exp $
+$NetBSD: manual-funclib.sh,v 1.2 2022/07/26 16:15:26 wiz Exp $
 
 Avoid pkgsrc variables which are not suitable here.
 
---- build-aux/funclib.sh.orig  2015-01-20 19:18:37.000000000 +0000
+--- build-aux/funclib.sh.orig  2022-03-17 02:44:32.000000000 +0000
 +++ build-aux/funclib.sh
-@@ -244,6 +244,9 @@ test -z "$GREP" && {
+@@ -258,6 +258,9 @@ test -z "$GREP" && {
  # uses them if a suitable command of that name is not already available
  # in the command search PATH.
  
diff -r 5abf26a328aa -r 328d8cc6efee devel/libtool/patches/manual-libtool.m4
--- a/devel/libtool/patches/manual-libtool.m4   Tue Jul 26 15:47:08 2022 +0000
+++ b/devel/libtool/patches/manual-libtool.m4   Tue Jul 26 16:15:26 2022 +0000
@@ -1,12 +1,12 @@
-$NetBSD: manual-libtool.m4,v 1.48 2018/11/13 21:44:42 sevan Exp $
+$NetBSD: manual-libtool.m4,v 1.49 2022/07/26 16:15:26 wiz Exp $
 
 Support mirbsd, midnightbsd, minix.
 Handle pkgsrc wrappers.
 Fixup output on various OS.
 
---- m4/libtool.m4.orig Tue Jan 20 16:15:19 2015
+--- m4/libtool.m4.orig 2022-03-17 02:43:39.000000000 +0000
 +++ m4/libtool.m4
-@@ -117,7 +117,10 @@ func_cc_basename ()
+@@ -118,7 +118,10 @@ func_cc_basename ()
          *) break;;
        esac
      done
@@ -18,7 +18,7 @@
  }
  ])# _LT_PREPARE_CC_BASENAME
  
-@@ -141,7 +144,10 @@ cc_basename=$func_cc_basename_result
+@@ -142,7 +145,10 @@ cc_basename=$func_cc_basename_result
  # It is okay to use these file commands and assume they have been set
  # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
  m4_defun([_LT_FILEUTILS_DEFAULTS],
@@ -30,7 +30,7 @@
  : ${MV="mv -f"}
  : ${RM="rm -f"}
  ])# _LT_FILEUTILS_DEFAULTS
-@@ -1120,7 +1126,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
+@@ -1117,7 +1123,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
    _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
    case $cc_basename in
       ifort*|nagfor*) _lt_dar_can_shared=yes ;;
@@ -39,7 +39,7 @@
    esac
    if test yes = "$_lt_dar_can_shared"; then
      output_verbose_link_cmd=func_echo_all
-@@ -1558,7 +1564,7 @@ fi
+@@ -1569,7 +1575,7 @@ fi
  
  case $host_os in
    darwin*)
@@ -48,25 +48,25 @@
    *)
      lock_old_archive_extraction=no ;;
  esac
-@@ -1714,7 +1720,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+@@ -1725,7 +1731,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
      lt_cv_sys_max_cmd_len=8192;
      ;;
  
--  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
-+  bitrig* | darwin* | dragonfly* | freebsd* | minix* | netbsd* | openbsd* | mirbsd*)
+-  bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
++  bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | minix* | netbsd* | openbsd*)
      # This has been around since 386BSD, at least.  Likely further.
      if test -x /sbin/sysctl; then
        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-@@ -2655,7 +2661,7 @@ dgux*)
+@@ -2675,7 +2681,7 @@ dgux*)
    shlibpath_var=LD_LIBRARY_PATH
    ;;
  
--freebsd* | dragonfly*)
-+freebsd*)
+-freebsd* | dragonfly* | midnightbsd*)
++freebsd* | midnightbsd*)
    # DragonFly does not have aout.  When/if they implement a new
    # versioning mechanism, adjust this.
    if test -x /usr/bin/objformat; then
-@@ -2700,6 +2706,17 @@ freebsd* | dragonfly*)
+@@ -2720,6 +2726,17 @@ freebsd* | dragonfly* | midnightbsd*)
    esac
    ;;
  
@@ -84,7 +84,7 @@
  haiku*)
    version_type=linux # correct to gnu/linux during the next big refactor
    need_lib_prefix=no
-@@ -2777,12 +2794,7 @@ interix[[3-9]]*)
+@@ -2797,12 +2814,7 @@ interix[[3-9]]*)
  irix5* | irix6* | nonstopux*)
    case $host_os in
      nonstopux*) version_type=nonstopux ;;
@@ -98,7 +98,7 @@
    esac
    need_lib_prefix=no
    need_version=no
-@@ -2887,19 +2899,48 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+@@ -2907,19 +2919,48 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu 
    dynamic_linker='GNU/Linux ld.so'
    ;;
  
@@ -157,7 +157,7 @@
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=yes
    hardcode_into_libs=yes
-@@ -2925,7 +2966,7 @@ newsos6)
+@@ -2945,7 +2986,7 @@ newsos6)
    ;;
  
  openbsd* | bitrig*)
@@ -166,7 +166,7 @@
    sys_lib_dlsearch_path_spec=/usr/lib
    need_lib_prefix=no
    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
-@@ -2933,7 +2974,7 @@ openbsd* | bitrig*)
+@@ -2953,7 +2994,7 @@ openbsd* | bitrig*)
    else
      need_version=yes
    fi
@@ -175,7 +175,7 @@
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    shlibpath_var=LD_LIBRARY_PATH
    shlibpath_overrides_runpath=yes
-@@ -3546,14 +3587,21 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+@@ -3566,12 +3607,19 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu 
    lt_cv_deplibs_check_method=pass_all
    ;;
  
@@ -190,20 +190,18 @@
 +  # naming scheme for libraries yet, as the current one is deprecated, and
 +  # the new one in a state of flux especially between mports and MirPorts
 +  lt_cv_deplibs_check_method=pass_all
-   ;;
- 
++  ;;
++
 +mirbsd*)
 +  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 +  ;;
 +
 +netbsd* | minix*)
 +  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
-+  ;;
-+
+   ;;
+ 
  newos6*)
-   lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
-   lt_cv_file_magic_cmd=/usr/bin/file
-@@ -3561,7 +3609,7 @@ newos6*)
+@@ -3581,7 +3629,7 @@ newos6*)
    ;;
  
  *nto* | *qnx*)
@@ -212,7 +210,7 @@
    ;;
  
  openbsd* | bitrig*)
-@@ -3931,7 +3979,7 @@ osf*)
+@@ -3951,7 +3999,7 @@ osf*)
    symcode='[[BCDEGQRST]]'
    ;;
  solaris*)
@@ -221,7 +219,7 @@
    ;;
  sco3.2v5*)
    symcode='[[DT]]'
-@@ -4236,10 +4284,16 @@ m4_if([$1], [CXX], [
+@@ -4256,9 +4304,15 @@ m4_if([$1], [CXX], [
        esac
        ;;
      darwin* | rhapsody*)
@@ -231,25 +229,24 @@
        # Common symbols not allowed in MH_DYLIB files
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
 +      _LT_TAGVAR(lt_prog_compiler_static, $1)=''
-       ;;
++      ;;
 +    *mint*)
 +      # FreeMiNT does not support shared libraries at all
 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)=



Home | Main Index | Thread Index | Old Index