Oh, you'll need this diff for libtool too (which may be the issue, I don't
know..)
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/libtool/Makefile,v
retrieving revision 1.76
diff -u -p -r1.76 Makefile
--- Makefile 15 Nov 2010 19:46:00 -0000 1.76
+++ Makefile 23 Jun 2011 02:23:08 -0000
@@ -3,22 +3,16 @@
COMMENT-main= generic shared library support script
COMMENT-ltdl= GNU libtool system independent dlopen wrapper
-VERSION= 1.5.26
+VERSION= 2.4
DISTNAME= libtool-${VERSION}
PKGNAME-main= ${DISTNAME}
-REVISION-main = 4
PKGNAME-ltdl= libltdl-${VERSION}
-REVISION-ltdl = 0
-SHARED_LIBS= ltdl 4.5
-MODGNU_SHARED_LIBS= ltdl '-no-undefined'
-
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=libtool/}
-HOMEPAGE= http://www.gnu.org/software/libtool/
+SHARED_LIBS= ltdl 5.0
-AUTOCONF_VERSION= 2.61
-BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS}
+HOMEPAGE= http://www.gnu.org/software/libtool/
MAINTAINER= Brad Smith <[email protected]>
@@ -28,26 +22,33 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
+AUTOCONF_VERSION= 2.67
+BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
+
+MAKE_ENV+= ${_lt_libs}
+MAKE_FLAGS+= ${_lt_libs}
+
CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
- --infodir=${PREFIX}/info \
- GREP=/usr/bin/grep lt_cv_path_SED=/usr/bin/sed \
- ac_cv_prog_F77=g77 \
+CONFIGURE_ARGS= ${CONFIGURE_SHARED}
+CONFIGURE_ENV= GREP=/usr/bin/grep \
ac_cv_f77_compiler_gnu=yes \
- ac_cv_prog_f77_g=yes \
+ ac_cv_path_SED=/usr/bin/sed \
+ lt_cv_prog_compiler_c_o_F77=yes \
lt_cv_prog_compiler_pic_works_F77=yes \
lt_cv_prog_compiler_static_works_F77=yes \
- lt_cv_prog_compiler_c_o_F77=yes
+ ac_cv_prog_F77=g77 \
+ ac_cv_prog_f77_g=yes
MULTI_PACKAGES= -main -ltdl
RUN_DEPENDS-main= devel/libtool,-ltdl
pre-configure:
- cd ${WRKDIR}/bin && ln -sf /usr/bin/true g77
+ @cd ${WRKDIR}/bin && ln -sf /usr/bin/true g77
do-regress:
- cd ${WRKDIR}/bin && ln -sf ${LOCALBASE}/bin/autoconf-2.61 autoconf
- cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
+ @cd ${WRKDIR}/bin && ln -sf \
+ ${LOCALBASE}/bin/autoconf-${AUTOCONF_VERSION} autoconf
+ @cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} check
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/devel/libtool/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo 11 Apr 2008 18:55:43 -0000 1.13
+++ distinfo 14 Jun 2011 20:14:20 -0000
@@ -1,5 +1,5 @@
-MD5 (libtool-1.5.26.tar.gz) = qpxRB/PsnvQgDrZVbzs8KQ==
-RMD160 (libtool-1.5.26.tar.gz) = TR190DCLmOj1kHI65drduNpJrBE=
-SHA1 (libtool-1.5.26.tar.gz) = TBc4NRc2ViqVGjReJPIz0AlT7Ao=
-SHA256 (libtool-1.5.26.tar.gz) = HDWuNP6FqhZ716tLyfR3/gGROOGvYmeNlS/EPAt+Lwk=
-SIZE (libtool-1.5.26.tar.gz) = 2961939
+MD5 (libtool-2.4.tar.gz) = sysEFI7N1zRKvG/ovRuwIQ==
+RMD160 (libtool-2.4.tar.gz) = oTnwE1wSCf6OuqzdzpwE//dNL1Q=
+SHA1 (libtool-2.4.tar.gz) = FJ6depk7ZD0TFJqU0Hu8oQheYBw=
+SHA256 (libtool-2.4.tar.gz) = E99Xq2OpThlsXW6V1k5TJig0/ngNXoLCjxd/n3Hd9i4=
+SIZE (libtool-2.4.tar.gz) = 2580417
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure 11 Apr 2008 18:55:43 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-configure,v 1.4 2008/04/11 18:55:43 steven Exp $
---- configure.orig Fri Feb 1 11:38:42 2008
-+++ configure Sat Feb 2 18:45:38 2008
-@@ -9574,6 +9574,13 @@ BEGIN {RS=" "; FS="/|\n";} {
- else
- sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
- fi
-+tmp="$sys_lib_search_path_spec"
-+sys_lib_search_path_spec=""
-+for i in $tmp
-+do
-+ test -d $i && sys_lib_search_path_spec="$sys_lib_search_path_spec $i"
-+done
-+
- need_lib_prefix=unknown
- hardcode_into_libs=no
-
Index: patches/patch-doc_libtool_texi
===================================================================
RCS file: /home/cvs/ports/devel/libtool/patches/patch-doc_libtool_texi,v
retrieving revision 1.3
diff -u -p -r1.3 patch-doc_libtool_texi
--- patches/patch-doc_libtool_texi 2 Jul 2004 01:59:12 -0000 1.3
+++ patches/patch-doc_libtool_texi 14 Jun 2011 20:14:20 -0000
@@ -1,8 +1,8 @@
$OpenBSD: patch-doc_libtool_texi,v 1.3 2004/07/02 01:59:12 brad Exp $
---- doc/libtool.texi.orig 2004-01-23 01:05:27.000000000 -0500
-+++ doc/libtool.texi 2004-04-08 09:43:39.000000000 -0400
-@@ -11,14 +11,14 @@
- @set MAILLIST the libtool mailing list @email{libtool@@gnu.org}
+--- doc/libtool.texi.orig Wed Jun 8 11:04:53 2011
++++ doc/libtool.texi Wed Jun 8 11:05:44 2011
+@@ -11,16 +11,16 @@
+ @set MAILLIST the Libtool mailing list @email{libtool@@gnu.org}
@set objdir .libs
-@dircategory GNU programming tools
@@ -13,8 +13,11 @@ $OpenBSD: patch-doc_libtool_texi,v 1.3 2
@dircategory Individual utilities
@direntry
+-* libtool-invocation: (libtool)Invoking libtool.
++* libtool-invocation: (libtool) Invoking libtool.
+ Running the @code{libtool}
script.
-* libtoolize: (libtool)Invoking libtoolize. Adding libtool support.
-+* Libtoolize: (libtool) Invoking libtoolize. Adding libtool support.
++* libtoolize: (libtool) Invoking libtoolize. Adding libtool support.
@end direntry
@ifnottex
Index: patches/patch-libltdl_config_ltmain_sh
===================================================================
RCS file: patches/patch-libltdl_config_ltmain_sh
diff -N patches/patch-libltdl_config_ltmain_sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-libltdl_config_ltmain_sh 15 Jun 2011 00:12:09 -0000
@@ -0,0 +1,147 @@
+$OpenBSD$
+--- libltdl/config/ltmain.sh.orig Wed Sep 22 10:45:43 2010
++++ libltdl/config/ltmain.sh Tue Jun 14 19:49:50 2011
+@@ -2713,51 +2713,6 @@ func_mode_finish ()
+ # Exit here if they wanted silent mode.
+ $opt_silent && exit $EXIT_SUCCESS
+
+- if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+- echo
"----------------------------------------------------------------------"
+- echo "Libraries have been installed in:"
+- for libdir in $libdirs; do
+- $ECHO " $libdir"
+- done
+- echo
+- echo "If you ever happen to want to link against installed libraries"
+- echo "in a given directory, LIBDIR, you must either use libtool, and"
+- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+- echo "flag during linking and do at least one of the following:"
+- if test -n "$shlibpath_var"; then
+- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
+- echo " during execution"
+- fi
+- if test -n "$runpath_var"; then
+- echo " - add LIBDIR to the \`$runpath_var' environment variable"
+- echo " during linking"
+- fi
+- if test -n "$hardcode_libdir_flag_spec"; then
+- libdir=LIBDIR
+- eval flag=\"$hardcode_libdir_flag_spec\"
+-
+- $ECHO " - use the \`$flag' linker flag"
+- fi
+- if test -n "$admincmds"; then
+- $ECHO " - have your system administrator run these
commands:$admincmds"
+- fi
+- if test -f /etc/ld.so.conf; then
+- echo " - have your system administrator add LIBDIR to
\`/etc/ld.so.conf'"
+- fi
+- echo
+-
+- echo "See any operating system documentation about shared libraries for"
+- case $host in
+- solaris2.[6789]|solaris2.1[0-9])
+- echo "more information, such as the ld(1), crle(1) and ld.so(8)
manual"
+- echo "pages."
+- ;;
+- *)
+- echo "more information, such as the ld(1) and ld.so(8) manual pages."
+- ;;
+- esac
+- echo
"----------------------------------------------------------------------"
+- fi
+ exit $EXIT_SUCCESS
+ }
+
+@@ -2850,6 +2805,10 @@ func_mode_install ()
+ fi
+ func_append install_shared_prog " $func_quote_for_eval_result"
+ done
++ case " $install_prog " in
++ *[\\\ /]cp\ *) extra_mode=;;
++ *) extra_mode='-m 644';;
++ esac
+
+ test -z "$install_prog" && \
+ func_fatal_help "you must specify an install program"
+@@ -2987,7 +2946,7 @@ func_mode_install ()
+ test -n "$relink_command" && srcname="$realname"T
+
+ # Install the shared library and build the symlinks.
+- func_show_eval "$install_shared_prog $dir/$srcname
$destdir/$realname" \
++ func_show_eval "$install_shared_prog $extra_mode $dir/$srcname
$destdir/$realname" \
+ 'exit $?'
+ tstripme="$stripme"
+ case $host_os in
+@@ -3024,7 +2983,7 @@ func_mode_install ()
+ func_basename "$file"
+ name="$func_basename_result"
+ instname="$dir/$name"i
+- func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
++ func_show_eval "$install_prog $extra_mode $instname $destdir/$name"
'exit $?'
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && func_append staticlibs " $dir/$old_library"
+@@ -3059,14 +3018,14 @@ func_mode_install ()
+
+ # Install the libtool object if requested.
+ test -n "$destfile" && \
+- func_show_eval "$install_prog $file $destfile" 'exit $?'
++ func_show_eval "$install_prog $extra_mode $file $destfile" 'exit $?'
+
+ # Install the old object if enabled.
+ if test "$build_old_libs" = yes; then
+ # Deduce the name of the old-style object file.
+ func_lo2o "$file"
+ staticobj=$func_lo2o_result
+- func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
++ func_show_eval "$install_prog $extra_mode \$staticobj \$staticdest"
'exit $?'
+ fi
+ exit $EXIT_SUCCESS
+ ;;
+@@ -5647,6 +5606,7 @@ func_mode_link ()
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
++ func_append deplibs " $arg"
+ case "$new_inherited_linker_flags " in
+ *" $arg "*) ;;
+ * ) func_append new_inherited_linker_flags " $arg" ;;
+@@ -6153,6 +6113,7 @@ func_mode_link ()
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append compiler_flags " $deplib"
++ test "$linkmode" = lib && newdependency_libs="$deplib
$newdependency_libs"
+ if test "$linkmode" = lib ; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+@@ -6683,7 +6644,7 @@ func_mode_link ()
+ *)
+ if test "$installed" = no; then
+ func_append notinst_deplibs " $lib"
+- need_relink=yes
++ test -z "$DESTDIR" && need_relink=yes
+ fi
+ ;;
+ esac
+@@ -7506,6 +7467,20 @@ func_mode_link ()
+ major=
+ versuffix=
+ verstring=""
++ else
++ # XXX
++ tmp=`echo $libname|sed -e 's,+,_,g' -e 's,-,_,g' -e 's,\.,_,g'`
++ eval tmp2=\$${tmp}_ltversion
++ if ! test -z "${SHARED_LIBS_LOG}"; then
++ if ! test -f ${SHARED_LIBS_LOG}; then
++ echo "# SHARED_LIBS+= <libname> <obsd version> #
<orig version>" >${SHARED_LIBS_LOG}
++ fi
++ tmp4=`echo $libname|sed -e 's/^lib//'`
++ printf "SHARED_LIBS +=\t%-20s %-8s # %s\n" "$tmp4" "$tmp2"
"$versuffix" >>${SHARED_LIBS_LOG}
++ fi
++ if test -n "$versuffix" && test -n "$tmp2"; then
++ versuffix=".$tmp2"
++ fi
+ fi
+
+ # Check to see if the archive will have undefined symbols.
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 17 Nov 2009 10:15:35 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-libltdl_ltdl_c,v 1.4 2009/11/17 10:15:35 espie Exp $
---- libltdl/ltdl.c.orig Mon Nov 16 19:39:41 2009
-+++ libltdl/ltdl.c Mon Nov 16 19:39:54 2009
-@@ -3225,7 +3225,7 @@ try_dlopen (phandle, filename)
- }
- #endif
- }
-- if (!file)
-+ else
- {
- file = fopen (filename, LT_READTEXT_MODE);
- }
Index: patches/patch-ltmain_in
===================================================================
RCS file: patches/patch-ltmain_in
diff -N patches/patch-ltmain_in
--- patches/patch-ltmain_in 23 Aug 2009 15:01:32 -0000 1.28
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,185 +0,0 @@
-$OpenBSD: patch-ltmain_in,v 1.28 2009/08/23 15:01:32 matthieu Exp $
---- ltmain.in.orig Fri Feb 1 17:12:00 2008
-+++ ltmain.in Sun Apr 5 17:25:48 2009
-@@ -1651,6 +1651,7 @@ EOF
- compiler_flags="$compiler_flags $arg"
- compile_command="$compile_command $arg"
- finalize_command="$finalize_command $arg"
-+ deplibs="$deplibs $arg"
- continue
- ;;
-
-@@ -2153,6 +2154,7 @@ EOF
- finalize_deplibs="$deplib $finalize_deplibs"
- else
- compiler_flags="$compiler_flags $deplib"
-+ test "$linkmode" = lib && newdependency_libs="$deplib
$newdependency_libs"
- fi
- continue
- ;;
-@@ -2392,20 +2394,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"
-- tmp_libs=
-- for deplib in $dependency_libs; do
-- deplibs="$deplib $deplibs"
-- if test "X$duplicate_deps" = "Xyes" ; then
-- case "$tmp_libs " in
-- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
-- esac
-- fi
-- tmp_libs="$tmp_libs $deplib"
-- done
- elif test "$linkmode" != prog && test "$linkmode" != lib; then
- $echo "$modename: \`$lib' is not a convenience library" 1>&2
- exit $EXIT_FAILURE
- fi
-+ tmp_libs=
-+ for deplib in $dependency_libs; do
-+ deplibs="$deplib $deplibs"
-+ if test "X$duplicate_deps" = "Xyes" ; then
-+ case "$tmp_libs " in
-+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
-+ esac
-+ fi
-+ tmp_libs="$tmp_libs $deplib"
-+ done
- continue
- fi # $pass = conv
-
-@@ -2602,7 +2604,7 @@ EOF
- { test "$use_static_libs" = no || test -z "$old_library"; }; then
- if test "$installed" = no; then
- notinst_deplibs="$notinst_deplibs $lib"
-- need_relink=yes
-+ test -z "$DESTDIR" && need_relink=yes
- fi
- # This is a shared library
-
-@@ -2801,7 +2803,7 @@ EOF
- add_dir=
- add=
- # Finalize command for both is simple: just hardcode it.
-- if test "$hardcode_direct" = yes; then
-+ if test "$hardcode_direct" = yes && test -f $libdir/$linklib; then
- add="$libdir/$linklib"
- elif test "$hardcode_minus_L" = yes; then
- add_dir="-L$libdir"
-@@ -3431,6 +3433,20 @@ EOF
- major=
- versuffix=
- verstring=""
-+ else
-+ # XXX
-+ tmp=`echo $libname|sed -e 's,+,_,g' -e 's,-,_,g' -e 's,\.,_,g'`
-+ eval tmp2=\$${tmp}_ltversion
-+ if ! test -z "${SHARED_LIBS_LOG}"; then
-+ if ! test -f ${SHARED_LIBS_LOG}; then
-+ echo "# SHARED_LIBS+= <libname> <obsd version> #
<orig version>" >${SHARED_LIBS_LOG}
-+ fi
-+ tmp4=`echo $libname|sed -e 's/^lib//'`
-+ printf "SHARED_LIBS +=\t%-20s %-8s # %s\n" "$tmp4" "$tmp2"
"$versuffix" >>${SHARED_LIBS_LOG}
-+ fi
-+ if test -n "$versuffix" && test -n "$tmp2"; then
-+ versuffix=".$tmp2"
-+ fi
- fi
-
- # Check to see if the archive will have undefined symbols.
-@@ -5886,6 +5902,10 @@ relink_command=\"$relink_command\""
- esac
- install_prog="$install_prog $arg"
- done
-+ case " $install_prog " in
-+ *[\\\ /]cp\ *) extra_mode=;;
-+ *) extra_mode='-m 644';;
-+ esac
-
- if test -z "$install_prog"; then
- $echo "$modename: you must specify an install program" 1>&2
-@@ -6040,8 +6060,8 @@ relink_command=\"$relink_command\""
- test -n "$relink_command" && srcname="$realname"T
-
- # Install the shared library and build the symlinks.
-- $show "$install_prog $dir/$srcname $destdir/$realname"
-- $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
-+ $show "$install_prog $extra_mode $dir/$srcname $destdir/$realname"
-+ $run eval "$install_prog $extra_mode $dir/$srcname
$destdir/$realname" || exit $?
- if test -n "$stripme" && test -n "$striplib"; then
- $show "$striplib $destdir/$realname"
- $run eval "$striplib $destdir/$realname" || exit $?
-@@ -6086,8 +6106,8 @@ relink_command=\"$relink_command\""
- # Install the pseudo-library for information purposes.
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
-- $show "$install_prog $instname $destdir/$name"
-- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ $show "$install_prog $extra_mode $instname $destdir/$name"
-+ $run eval "$install_prog $extra_mode $instname $destdir/$name" || exit
$?
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
-@@ -6122,8 +6142,8 @@ relink_command=\"$relink_command\""
-
- # Install the libtool object if requested.
- if test -n "$destfile"; then
-- $show "$install_prog $file $destfile"
-- $run eval "$install_prog $file $destfile" || exit $?
-+ $show "$install_prog $extra_mode $file $destfile"
-+ $run eval "$install_prog $extra_mode $file $destfile" || exit $?
- fi
-
- # Install the old object if enabled.
-@@ -6131,8 +6151,8 @@ relink_command=\"$relink_command\""
- # Deduce the name of the old-style object file.
- staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
-
-- $show "$install_prog $staticobj $staticdest"
-- $run eval "$install_prog \$staticobj \$staticdest" || exit $?
-+ $show "$install_prog $extra_mode $staticobj $staticdest"
-+ $run eval "$install_prog $extra_mode \$staticobj \$staticdest" ||
exit $?
- fi
- exit $EXIT_SUCCESS
- ;;
-@@ -6346,40 +6366,6 @@ relink_command=\"$relink_command\""
- # Exit here if they wanted silent mode.
- test "$show" = : && exit $EXIT_SUCCESS
-
-- $echo
"X----------------------------------------------------------------------" |
$Xsed
-- $echo "Libraries have been installed in:"
-- for libdir in $libdirs; do
-- $echo " $libdir"
-- done
-- $echo
-- $echo "If you ever happen to want to link against installed libraries"
-- $echo "in a given directory, LIBDIR, you must either use libtool, and"
-- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
-- $echo "flag during linking and do at least one of the following:"
-- if test -n "$shlibpath_var"; then
-- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
-- $echo " during execution"
-- fi
-- if test -n "$runpath_var"; then
-- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
-- $echo " during linking"
-- fi
-- if test -n "$hardcode_libdir_flag_spec"; then
-- libdir=LIBDIR
-- eval flag=\"$hardcode_libdir_flag_spec\"
--
-- $echo " - use the \`$flag' linker flag"
-- fi
-- if test -n "$admincmds"; then
-- $echo " - have your system administrator run these
commands:$admincmds"
-- fi
-- if test -f /etc/ld.so.conf; then
-- $echo " - have your system administrator add LIBDIR to
\`/etc/ld.so.conf'"
-- fi
-- $echo
-- $echo "See any operating system documentation about shared libraries for"
-- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
-- $echo
"X----------------------------------------------------------------------" |
$Xsed
- exit $EXIT_SUCCESS
- ;;
-
Index: pkg/PLIST-ltdl
===================================================================
RCS file: /home/cvs/ports/devel/libtool/pkg/PLIST-ltdl,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-ltdl
--- pkg/PLIST-ltdl 14 Sep 2004 23:43:56 -0000 1.3
+++ pkg/PLIST-ltdl 14 Jun 2011 20:14:20 -0000
@@ -1,4 +1,8 @@
@comment $OpenBSD: PLIST-ltdl,v 1.3 2004/09/14 23:43:56 espie Exp $
+include/libltdl/
+include/libltdl/lt_dlloader.h
+include/libltdl/lt_error.h
+include/libltdl/lt_system.h
include/ltdl.h
lib/libltdl.a
lib/libltdl.la
@@ -9,17 +13,38 @@ share/libtool/libltdl/
share/libtool/libltdl/COPYING.LIB
share/libtool/libltdl/Makefile.am
share/libtool/libltdl/Makefile.in
+share/libtool/libltdl/Makefile.inc
share/libtool/libltdl/README
-share/libtool/libltdl/acinclude.m4
share/libtool/libltdl/aclocal.m4
+share/libtool/libltdl/argz.c
+share/libtool/libltdl/argz_.h
share/libtool/libltdl/config-h.in
-share/libtool/libltdl/config.guess
-share/libtool/libltdl/config.sub
share/libtool/libltdl/configure
share/libtool/libltdl/configure.ac
-share/libtool/libltdl/install-sh
+share/libtool/libltdl/libltdl/
+share/libtool/libltdl/libltdl/lt__alloc.h
+share/libtool/libltdl/libltdl/lt__dirent.h
+share/libtool/libltdl/libltdl/lt__glibc.h
+share/libtool/libltdl/libltdl/lt__private.h
+share/libtool/libltdl/libltdl/lt__strl.h
+share/libtool/libltdl/libltdl/lt_dlloader.h
+share/libtool/libltdl/libltdl/lt_error.h
+share/libtool/libltdl/libltdl/lt_system.h
+share/libtool/libltdl/libltdl/slist.h
+share/libtool/libltdl/loaders/
+share/libtool/libltdl/loaders/dld_link.c
+share/libtool/libltdl/loaders/dlopen.c
+share/libtool/libltdl/loaders/dyld.c
+share/libtool/libltdl/loaders/load_add_on.c
+share/libtool/libltdl/loaders/loadlibrary.c
+share/libtool/libltdl/loaders/preopen.c
+share/libtool/libltdl/loaders/shl_load.c
+share/libtool/libltdl/lt__alloc.c
+share/libtool/libltdl/lt__dirent.c
+share/libtool/libltdl/lt__strl.c
+share/libtool/libltdl/lt_dlloader.c
+share/libtool/libltdl/lt_error.c
share/libtool/libltdl/ltdl.c
share/libtool/libltdl/ltdl.h
-share/libtool/libltdl/ltmain.sh
-share/libtool/libltdl/missing
+share/libtool/libltdl/slist.c
%%SHARED%%
Index: pkg/PLIST-main
===================================================================
RCS file: /home/cvs/ports/devel/libtool/pkg/PLIST-main,v
retrieving revision 1.1
diff -u -p -r1.1 PLIST-main
--- pkg/PLIST-main 21 Nov 2006 11:31:39 -0000 1.1
+++ pkg/PLIST-main 14 Jun 2011 20:14:20 -0000
@@ -3,8 +3,19 @@
bin/libtool
bin/libtoolize
@info info/libtool.info
+@man man/man1/libtool.1
+@man man/man1/libtoolize.1
+share/aclocal/argz.m4
share/aclocal/libtool.m4
-share/libtool/config.guess
-share/libtool/config.sub
-share/libtool/install-sh
-share/libtool/ltmain.sh
+share/aclocal/ltoptions.m4
+share/aclocal/ltsugar.m4
+share/aclocal/ltversion.m4
+share/aclocal/lt~obsolete.m4
+share/libtool/config/
+share/libtool/config/compile
+share/libtool/config/config.guess
+share/libtool/config/config.sub
+share/libtool/config/depcomp
+share/libtool/config/install-sh
+share/libtool/config/ltmain.sh
+share/libtool/config/missing
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
On Fri, Jun 24, 2011 at 09:45:05AM +0200, Jasper Lievisse Adriaanse wrote:
> Hi,
>
> I've recently started working on a port of pulseaudio. So far it builds but
> getting it to run is another thing...
>
> The main issue is that there are various modules which are broken in such a
> way that even ldd(1) doesn't know how to deal with them..:
>
> gurthang:modules {537} pwd
> /usr/local/lib/pulse-0.9.22/modules
> gurthang:modules {538} ldd module-stream-restore.so
> module-stream-restore.so:
> Cannot load specified object
>
> When run with LD_DEBUG:
> gurthang:modules {542} ldd module-stream-restore.so
> rtld loading: 'ldd'
> exe load offset: 0x0
> head ldd
> obj ldd has ldd as head
> examining: 'ldd'
> loading: libc.so.58.3 required by ldd
> obj /usr/lib/libc.so.58.3 has ldd as head
> linking dep /usr/lib/libc.so.58.3 as child of ldd
> examining: '/usr/lib/libc.so.58.3'
> obj /usr/libexec/ld.so has ldd as head
> rebuil
> maxgrouplist = 3
> maxchildlist = 1
> maxvisit is 1
> maxvisit is 2
> maxvisit is 6
> relocation took 0.000186
> Start End Type Open Ref GrpRef Name
> 0000000000400000 0000000000802000 exe 1 0 0 ldd
> 000000020a1d6000 000000020a6bc000 rlib 0 1 0
> /usr/lib/libc.so.58.3
> 0000000207b00000 0000000207b00000 rtld 0 1 0
> /usr/libexec/ld.so
> symcache lookups 219 hits 39 ratio 17% hits
> dynamic loading done, success.
> sym environ is in ldd
> doing ctors obj 0x208c7c4c0 @0x20a1f45a0: [/usr/lib/libc.so.58.3]
> entry point: 0x400f00
> module-stream-restore.so:
> dlopen: loading: /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> head /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> linking /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as
> dlopen()ed
> head [/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so]
> examining: '/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so'
> loading: libXext.so.12.0 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/X11R6/lib/libXext.so.12.0 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libexecinfo.so.0.0 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/local/lib/libexecinfo.so.0.0 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libsamplerate.so.2.0 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/local/lib/libsamplerate.so.2.0 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libxcb.so.2.2 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/X11R6/lib/libxcb.so.2.2 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libsndfile.so.3.3 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/local/lib/libsndfile.so.3.3 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libdbus-1.so.9.1 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/local/lib/libdbus-1.so.9.1 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libpulse.so.0.0 required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> obj /usr/local/lib/libpulse.so.0.0 has
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
> loading: libprotocol-native.so required by
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> dlopen: failed to open libprotocol-native.so
> unload_shlib called on
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> unload_shlib unloading on
> /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
> dlopen: /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so: done
> (failed).
> Cannot load specified object
> doing dtors
> doing dtors obj 0x208c7c4c0 @0x20a277d80: [/usr/lib/libc.so.58.3]
> gurthang:modules {543}
>
> Stuart suggested to revert the ld.so speedup diff, but that didn't make a
> difference. Any idea how to further debug this?
>
> I've attached my WIP port for anyone who could look at it.
>
> --
> Cheers,
> Jasper
>
> "Capable, generous men do not create victims, they nurture them."
--
Cheers,
Jasper
"Capable, generous men do not create victims, they nurture them."