Here is a minor update to libtool 1.5.24.
http://tinyurl.com/yqjksc
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libtool/Makefile,v
retrieving revision 1.65
diff -u -p -r1.65 Makefile
--- Makefile 4 Jun 2007 19:00:16 -0000 1.65
+++ Makefile 1 Jul 2007 21:56:46 -0000
@@ -4,10 +4,10 @@
COMMENT-main= "generic shared library support script"
COMMENT-ltdl= "GNU libtool system independent dlopen wrapper"
-VERSION= 1.5.22
+VERSION= 1.5.24
DISTNAME= libtool-${VERSION}
-PKGNAME-main= ${DISTNAME}p12
-PKGNAME-ltdl= libltdl-${VERSION}p2
+PKGNAME-main= ${DISTNAME}
+PKGNAME-ltdl= libltdl-${VERSION}
SHARED_LIBS= ltdl 4.3
MODGNU_SHARED_LIBS= ltdl '-no-undefined'
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libtool/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo 5 Apr 2007 15:37:56 -0000 1.12
+++ distinfo 1 Jul 2007 21:58:34 -0000
@@ -1,5 +1,5 @@
-MD5 (libtool-1.5.22.tar.gz) = jgrJeXtiuk3Mii+3k2QSsA==
-RMD160 (libtool-1.5.22.tar.gz) = fL55PuBQmQjarJKLTcOg8W9yk78=
-SHA1 (libtool-1.5.22.tar.gz) = FzU+Zq6qyArhiOoKOpBglVDOMlQ=
-SHA256 (libtool-1.5.22.tar.gz) = iOn/qq3iHB3a9il3I90vtMoYzK7wSZootuZy8CyM610=
-SIZE (libtool-1.5.22.tar.gz) = 2921483
+MD5 (libtool-1.5.24.tar.gz) = 0AcciQEB/PTyvok0o3hBsA==
+RMD160 (libtool-1.5.24.tar.gz) = 5oL+ZXDHHZOtZeDGx3y2VYhG8n0=
+SHA1 (libtool-1.5.24.tar.gz) = tMmU8b9KdtKwwdCm9U0WWYwV89s=
+SHA256 (libtool-1.5.24.tar.gz) = HlQBanbpcE8R7M+btz4vqgaZ8AKwC2Yw34K4iC/y5bI=
+SIZE (libtool-1.5.24.tar.gz) = 2919557
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/devel/libtool/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure
--- patches/patch-configure 7 Jan 2006 09:58:39 -0000 1.3
+++ patches/patch-configure 1 Jul 2007 22:08:24 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.3 2006/01/07 09:58:39 brad Exp $
---- configure.orig Sun Dec 18 17:13:49 2005
-+++ configure Thu Jan 5 18:11:30 2006
-@@ -9282,6 +9282,13 @@ if test "$GCC" = yes; then
+--- configure.orig Sat Jun 23 22:20:37 2007
++++ configure Sun Jul 1 18:08:03 2007
+@@ -9257,6 +9257,13 @@ BEGIN {RS=" "; FS="/|\n";} {
else
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
fi
Index: patches/patch-libltdl_ltdl_c
===================================================================
RCS file: patches/patch-libltdl_ltdl_c
diff -N patches/patch-libltdl_ltdl_c
--- patches/patch-libltdl_ltdl_c 14 Apr 2007 15:58:03 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-libltdl_ltdl_c,v 1.2 2007/04/14 15:58:03 espie Exp $
---- libltdl/ltdl.c.orig Mon Oct 31 20:44:43 2005
-+++ libltdl/ltdl.c Sat Mar 31 13:33:59 2007
-@@ -894,7 +894,7 @@ static const char sys_search_path[] =
LTDL_SYSSEARCHPA
- (*lt_dlmutex_seterror_func) (errormsg); \
- else lt_dllast_error = (errormsg); } LT_STMT_END
- #define LT_DLMUTEX_GETERROR(errormsg) LT_STMT_START { \
-- if (lt_dlmutex_seterror_func) \
-+ if (lt_dlmutex_geterror_func) \
- (errormsg) = (*lt_dlmutex_geterror_func) (); \
- else (errormsg) = lt_dllast_error; } LT_STMT_END
-
Index: patches/patch-libtool_m4
===================================================================
RCS file: patches/patch-libtool_m4
diff -N patches/patch-libtool_m4
--- patches/patch-libtool_m4 25 Mar 2007 11:36:29 -0000 1.6
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,79 +0,0 @@
-$OpenBSD: patch-libtool_m4,v 1.6 2007/03/25 11:36:29 matthieu Exp $
---- libtool.m4.orig Sun Dec 18 22:53:17 2005
-+++ libtool.m4 Sat Mar 24 00:15:59 2007
-@@ -3391,16 +3391,20 @@ case $host_os in
- _LT_AC_TAGVAR(ld_shlibs, $1)=no
- ;;
- openbsd*)
-- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
-- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
-- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag
$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags
${wl}-retain-symbols-file,$export_symbols -o $lib'
-- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-- _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-+ if test -f /usr/libexec/ld.so; then
-+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
-+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
-+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag
$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags
${wl}-retain-symbols-file,$export_symbols -o $lib'
-+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-+ _LT_AC_TAGVAR(whole_archive_flag_spec,
$1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-+ fi
-+ output_verbose_link_cmd='echo'
-+ else
-+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
-- output_verbose_link_cmd='echo'
- ;;
- osf3*)
- case $cc_basename in
-@@ -6012,24 +6016,28 @@ _LT_EOF
- ;;
-
- openbsd*)
-- _LT_AC_TAGVAR(hardcode_direct, $1)=yes
-- _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
-- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs
$deplibs $compiler_flags'
-- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib
$libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
-- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-- _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-+ if test -f /usr/libexec/ld.so; then
-+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
-+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
-+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib
$libobjs $deplibs $compiler_flags'
-+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib
$libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
-+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-+ else
-+ case $host_os in
-+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
-+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs
$deplibs $linker_flags'
-+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-+ ;;
-+ *)
-+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib
$libobjs $deplibs $compiler_flags'
-+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-+ ;;
-+ esac
-+ fi
- else
-- case $host_os in
-- openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
-- _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs
$deplibs $linker_flags'
-- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-- ;;
-- *)
-- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib
$libobjs $deplibs $compiler_flags'
-- _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-- ;;
-- esac
-+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
- fi
- ;;
-
Index: patches/patch-ltmain_in
===================================================================
RCS file: /cvs/ports/devel/libtool/patches/patch-ltmain_in,v
retrieving revision 1.26
diff -u -p -r1.26 patch-ltmain_in
--- patches/patch-ltmain_in 4 Jun 2007 19:00:16 -0000 1.26
+++ patches/patch-ltmain_in 1 Jul 2007 22:08:17 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-ltmain_in,v 1.26 2007/06/04 19:00:16 kurt Exp $
---- ltmain.in.orig Sun Dec 18 16:43:52 2005
-+++ ltmain.in Mon May 21 22:20:24 2007
-@@ -1604,6 +1604,7 @@ EOF
+--- ltmain.in.orig Sat Jun 23 21:30:51 2007
++++ ltmain.in Sun Jul 1 18:08:03 2007
+@@ -1643,6 +1643,7 @@ EOF
compiler_flags="$compiler_flags $arg"
compile_command="$compile_command $arg"
finalize_command="$finalize_command $arg"
@@ -9,7 +9,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
continue
;;
-@@ -2073,6 +2074,17 @@ EOF
+@@ -2113,6 +2114,17 @@ EOF
;;
esac
for pass in $passes; do
@@ -27,7 +27,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
if test "$linkmode,$pass" = "lib,link" ||
test "$linkmode,$pass" = "prog,scan"; then
libs="$deplibs"
-@@ -2100,6 +2112,7 @@ EOF
+@@ -2140,6 +2152,7 @@ EOF
finalize_deplibs="$deplib $finalize_deplibs"
else
compiler_flags="$compiler_flags $deplib"
@@ -35,7 +35,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
fi
continue
;;
-@@ -2334,20 +2347,20 @@ EOF
+@@ -2374,20 +2387,20 @@ EOF
# It is a libtool convenience library, so add in its objects.
convenience="$convenience $ladir/$objdir/$old_library"
old_convenience="$old_convenience $ladir/$objdir/$old_library"
@@ -66,7 +66,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
continue
fi # $pass = conv
-@@ -2542,7 +2555,7 @@ EOF
+@@ -2584,7 +2597,7 @@ EOF
{ test "$use_static_libs" = no || test -z "$old_library"; }; then
if test "$installed" = no; then
notinst_deplibs="$notinst_deplibs $lib"
@@ -75,7 +75,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
fi
# This is a shared library
-@@ -2741,7 +2754,7 @@ EOF
+@@ -2783,7 +2796,7 @@ EOF
add_dir=
add=
# Finalize command for both is simple: just hardcode it.
@@ -84,7 +84,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
add="$libdir/$linklib"
elif test "$hardcode_minus_L" = yes; then
add_dir="-L$libdir"
-@@ -3359,6 +3372,20 @@ EOF
+@@ -3406,6 +3419,20 @@ EOF
major=
versuffix=
verstring=""
@@ -105,7 +105,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
fi
# Check to see if the archive will have undefined symbols.
-@@ -5797,6 +5824,10 @@ relink_command=\"$relink_command\""
+@@ -5860,6 +5887,10 @@ relink_command=\"$relink_command\""
esac
install_prog="$install_prog $arg"
done
@@ -116,7 +116,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
if test -z "$install_prog"; then
$echo "$modename: you must specify an install program" 1>&2
-@@ -5951,8 +5982,8 @@ relink_command=\"$relink_command\""
+@@ -6014,8 +6045,8 @@ relink_command=\"$relink_command\""
test -n "$relink_command" && srcname="$realname"T
# Install the shared library and build the symlinks.
@@ -127,7 +127,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
if test -n "$stripme" && test -n "$striplib"; then
$show "$striplib $destdir/$realname"
$run eval "$striplib $destdir/$realname" || exit $?
-@@ -5997,8 +6028,8 @@ relink_command=\"$relink_command\""
+@@ -6060,8 +6091,8 @@ relink_command=\"$relink_command\""
# Install the pseudo-library for information purposes.
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
@@ -138,7 +138,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
-@@ -6033,8 +6064,8 @@ relink_command=\"$relink_command\""
+@@ -6096,8 +6127,8 @@ relink_command=\"$relink_command\""
# Install the libtool object if requested.
if test -n "$destfile"; then
@@ -149,7 +149,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
fi
# Install the old object if enabled.
-@@ -6042,8 +6073,8 @@ relink_command=\"$relink_command\""
+@@ -6105,8 +6136,8 @@ relink_command=\"$relink_command\""
# Deduce the name of the old-style object file.
staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
@@ -160,7 +160,7 @@ $OpenBSD: patch-ltmain_in,v 1.26 2007/06
fi
exit $EXIT_SUCCESS
;;
-@@ -6257,40 +6288,6 @@ relink_command=\"$relink_command\""
+@@ -6320,40 +6351,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = : && exit $EXIT_SUCCESS