ports/162012: [PATCH] Update devel/libtool to 2.4.2
Xin LI
delphij at FreeBSD.org
Tue Oct 25 18:20:11 UTC 2011
>Number: 162012
>Category: ports
>Synopsis: [PATCH] Update devel/libtool to 2.4.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 25 18:20:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Xin LI
>Release: FreeBSD 8.2-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #4 r220774: Mon Apr 18 13:56:14 UTC 2011 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
The following changes are documented as part of libtool 2.4.2 compared
to 2.4.0:
New in 2.4.2 2011-10-17:
New features:
- The --with-pic configure option now supports a list of comma-separated
package names. This can be used to build some static libraries with PIC
objects while building others with non-PIC objects.
- Initial support for Go, using the gccgo compiler.
- On Mac OS X .dylib is now tried as well as .so with
lt_dlopenext().
Bug fixes:
- The generic approximation of the command line length limit (when getconf is
not available) works again. Regression introduced in v2.2.6-39-g9c3d4d8.
- The bug that leaked developer tool paths into the release tarballs
from ./bootstrap is fixed.
- Improved support for the Cuda Compiler Driver (nvcc) on Darwin.
- For GCC LTO support, the -fuse-linker-plugin switch is now also removed
when computing compiler postdeps.
Important incompatible changes:
- The undocumented hardcode_libdir_flag_spec_ld tag variable has been
removed in favor of using hardcode_libdir_flag_spec with $wl set to empty.
Changes in supported systems or compilers:
- Fixes for gfortran on Darwin, XL Fortran on GNU/Linux.
- Support for FreeBSD 1.x (outdated since 1994) has been removed.
>How-To-Repeat:
Compile something, e.g. net/openldap24-client, on FreeBSD 10-CURRENT
>Fix:
--- libtool.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libtool/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile 11 Oct 2011 12:40:10 -0000 1.31
+++ Makefile 23 Oct 2011 10:16:26 -0000
@@ -6,8 +6,7 @@
#
PORTNAME?= libtool
-PORTVERSION= 2.4
-PORTREVISION?= 1
+PORTVERSION= 2.4.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/libtool/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 25 Feb 2011 06:15:43 -0000 1.7
+++ distinfo 25 Oct 2011 00:00:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (libtool-2.4.tar.gz) = 13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e
-SIZE (libtool-2.4.tar.gz) = 2580417
+SHA256 (libtool-2.4.2.tar.gz) = b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918
+SIZE (libtool-2.4.2.tar.gz) = 2632347
Index: files/patch-10-a
===================================================================
RCS file: files/patch-10-a
diff -N files/patch-10-a
--- files/patch-10-a 11 Oct 2011 12:40:10 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-From e94c6d6e0359d92f08f491f57e0ef3371e978952 Mon Sep 17 00:00:00 2001
-From: Gerald Pfeifer <gerald at pfeifer.com>
-Date: Thu, 20 Jan 2011 18:35:14 +0000
-Subject: Remove support for FreeBSD 1.x.
-
-* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
-(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
-soon would incorrectly match FreeBSD 10.0.
-* NEWS, THANKS: Update.
-
-Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues at gmx.de>
----
-diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
-index ba2d5e4..033c9a0 100644
---- libltdl/m4/libtool.m4
-+++ libltdl/m4/libtool.m4
-@@ -2455,10 +2455,6 @@ dgux*)
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
--freebsd1*)
-- dynamic_linker=no
-- ;;
--
- freebsd* | dragonfly*)
- # DragonFly does not have aout. When/if they implement a new
- # versioning mechanism, adjust this.
-@@ -5178,10 +5174,6 @@ _LT_EOF
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
-- freebsd1*)
-- _LT_TAGVAR(ld_shlibs, $1)=no
-- ;;
--
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- # support. Future versions do this automatically, but an explicit c++rt0.o
- # does not break anything, and helps significantly (at the cost of a little
---
-cgit v0.8.3.4
Index: files/patch-10-b
===================================================================
RCS file: files/patch-10-b
diff -N files/patch-10-b
--- files/patch-10-b 11 Oct 2011 12:40:10 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,64 +0,0 @@
-From 49ae2888b43cad358e2ff60a69722341116e7b40 Mon Sep 17 00:00:00 2001
-From: Xin LI <d at delphij.net>
-Date: Sun, 02 Oct 2011 15:02:18 +0000
-Subject: Avoid problems when FreeBSD goes to version 10.
-
- * libltdl/m4/libtool.m4: Remove mentions of freebsd1. Use dots
- for FreeBSD 2 and 3 detection to avoid future problems
- * libltdl/m4/ltmain.m4sh: ditto.
----
-diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
-index 511480f..be37978 100644
---- libltdl/config/ltmain.m4sh
-+++ libltdl/config/ltmain.m4sh
-@@ -2686,7 +2686,7 @@ static const void *lt_preloaded_setup() {
- # linked before any other PIC object. But we must not use
- # pic_flag when linking with -static. The problem exists in
- # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
-- *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
-+ *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
- pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
- *-*-hpux*)
- pic_flag_for_symtable=" $pic_flag" ;;
-diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
-index 350fbe1..0de7f3c 100644
---- libltdl/m4/libtool.m4
-+++ libltdl/m4/libtool.m4
-@@ -2475,7 +2475,7 @@ freebsd* | dragonfly*)
- objformat=`/usr/bin/objformat`
- else
- case $host_os in
-- freebsd[[123]]*) objformat=aout ;;
-+ freebsd[[23]].*) objformat=aout ;;
- *) objformat=elf ;;
- esac
- fi
-@@ -2493,7 +2493,7 @@ freebsd* | dragonfly*)
- esac
- shlibpath_var=LD_LIBRARY_PATH
- case $host_os in
-- freebsd2*)
-+ freebsd2.*)
- shlibpath_overrides_runpath=yes
- ;;
- freebsd3.[[01]]* | freebsdelf3.[[01]]*)
-@@ -5200,7 +5200,7 @@ _LT_EOF
- ;;
-
- # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-- freebsd2*)
-+ freebsd2.*)
- _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- _LT_TAGVAR(hardcode_direct, $1)=yes
- _LT_TAGVAR(hardcode_minus_L, $1)=yes
-@@ -6206,7 +6206,7 @@ if test "$_lt_caught_CXX_error" != yes; then
- esac
- ;;
-
-- freebsd[[12]]*)
-+ freebsd2.*)
- # C++ shared libraries reported to be fairly broken before
- # switch to ELF
- _LT_TAGVAR(ld_shlibs, $1)=no
---
-cgit v0.8.3.4
--- libtool.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list