head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.52 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.50 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.48 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.46 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.44 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.42 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.40 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.38 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.36 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.34 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.32 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.30 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.28 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.26 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.24 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.22 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.20 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.18 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.16 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.14 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.12 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.10 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.8 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.6 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.4 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.2 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.8.0.2 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.7.0.2 netbsd-1-6-1-base:1.7 netbsd-1-6:1.6.0.6 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.2 pkgviews-base:1.6 buildlink2:1.5.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.2; locks; strict; comment @# @; 1.9 date 2004.02.05.20.14.06; author skrll; state dead; branches; next 1.8; 1.8 date 2003.09.25.02.09.03; author danw; state Exp; branches; next 1.7; 1.7 date 2002.08.25.18.38.35; author jlam; state Exp; branches; next 1.6; 1.6 date 2002.05.21.14.03.37; author schmonz; state Exp; branches; next 1.5; 1.5 date 2001.10.26.10.58.03; author skrll; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2001.10.26.07.47.43; author skrll; state Exp; branches; next 1.3; 1.3 date 2001.06.14.14.55.48; author skrll; state Exp; branches; next 1.2; 1.2 date 2001.03.18.17.10.29; author skrll; state Exp; branches; next 1.1; 1.1 date 2001.02.27.08.20.26; author skrll; state Exp; branches; next ; 1.5.2.1 date 2002.06.23.18.44.31; author jlam; state Exp; branches; next ; desc @@ 1.9 log @The long awaited update libtool to 1.5.2. Some pkgsrc things - Fix PLISTs for packages that use -release - Include canonicalisation of a couple of paths for the benefit of qt3-* - the normal version=sunos patching - fix all library_names_spec for the standard set of symlinks The libtool things some of which had already made it into pkgsrc libtool. New in 1.5.2: 2004-01-25; CVS version 1.5.0a, Libtool team: * lt_dlrealloc is an official part of the libltdl API. * --tag, --silent and --debug options are preserved and reused when libtool calls itself for relinking etc. * `-pthread' and similar options are honoured when linking shared libraries. * -no-suppress in compile mode shows compiler output for both PIC and non-PIC object compilation. * New link mode option `-precious-files-regex' to prevent accidental removal of files you want to keep, such as test coverage data, from the temporary output directory. * Directories specified in /etc/ld.so.conf are no longer hardcoded on Linux. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. * Bug fixes. New in 1.5: 2003-04-14; CVS version 1.4e, Libtool team: * First stable release of multi-language architecture. * libtool and libltdl support for Mac OS/X. * libltdl will now use cygwins dlopen API instead of always forcing LoadLibrary. * Support auto-import patch to binutils on cygwin for much improved dll support. * Bug fixes. New in 1.4.3: 2002-10-13; CVS version 1.4.2a, Robert Boehne: * The libltdl subdirectory now bootstraps correctly with Automake 1.5. * srcdir != builddir builds with Automake 1.5 work correctly. * Support for mips-compaq-nonstopux. * New command line argument, --preserve-dup-deps prevents removal of duplicate dependent libraries. New in 1.4d: 2002-01-07; CVS version 1.4c, Libtool team: * Help strings display correctly again. * Better error messages when library linking fails. * Better error messages from libltdl when loading fails. * Better search path management in libltdl with `lt_dlinsertsearchdir' call. * Support /lib/w32api in recent cygwin releases. * Support cross compilation to mingw. * Support for .rc files (Windows resource compiler). * Improved handling of mingw gcc. * Improved handling of $PATH with entries containing spaces. * Improved support for linking with gcc on aix4* and aix5*. * Improved support for GCC 3.0. * Initial support for QNX RTOS, UnixWare 7 and OpenUNIX 8. * Bug fixes to the OpenBSD port. * Bug fixes. New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan: * libltdl now builds on solaris again * diagnose and warn about not-quite-working combinations of gcc and ld on solaris. * Improved OpenBSD support. * Improved cygwin support. * Bugfixes. New in 1.4.1: 2001-09-03; CVS version 1.4.0a, Libtool team: * Better error messages from libltdl when loading fails. * Don't leave here-doc files behind. * Improved support for OpenBSD. * Libtool will build with autoconf-2.50 and higher. * Plug memory management bugs in libltdl. * Prefer shl_load to dlopen for better operation on HP-UX. New in 1.4b: 2001-07-09; CVS version 1.4a, Libtool team: * Now bootstraps with autoconf-2.50 and automake-1.4-p4. * Always try to build at least a static lib, even if both static and shared libs were disabled. * Full support for C++ compiler. * Support for GNU gcj compiler. * libltdl can now load all modules in a given path according to user supplied criteria with `lt_dlforeachfile' call. * Improved support for AIX ia64, djgpp, HPUX, hurd, OpenBSD, sco3.2*. * Internal mutex handling no longer has namespace clashes on NCR MP-RAS. * New pdemo and tagdemo tests. * Bug fixes. @ text @$NetBSD: patch-ag,v 1.8 2003/09/25 02:09:03 danw Exp $ --- ltcf-cxx.sh.orig Wed May 23 05:05:06 2001 +++ ltcf-cxx.sh @@@@ -382,8 +382,40 @@@@ ;; esac ;; + darwin* | rhapsody*) + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + archive_cmds='$CC $(if test .$module = .yes; then echo -bundle; else echo -dynamiclib; fi) $allow_undefined_flag -o $lib $libobjs $deplibs $linker_flags -install_name $rpath/$soname $verstring' + # We need to add '_' to the symbols in $export_symbols first + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib' + hardcode_direct=yes + hardcode_shlibpath_var=no + whole_archive_flag_spec='-all_load $convenience' + ;; netbsd*) - # NetBSD uses g++ - do we need to do anything? + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + # Surely {pre|post}dep_objects should be added here! + archive_cmds='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + # Determine if we need to override the c++rt0 that is + # picked up by analysing output_verbose_link_cmds + if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then + cpprt0_file="${PREFIX}/lib/c++rt0/c++rt0.o.PIC" + else + cpprt0_file= + fi + hardcode_direct=yes + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpathvar_var=no + fi + # Workaround for some pre-1.5 ELF toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep conftest.$objext | sed -e "s/-lgcc -lc -lgcc//"' ;; osf3*) if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then @@@@ -690,7 +722,7 @@@@ darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + ac_cv_prog_cc_pic='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all @@@@ -982,6 +1014,14 @@@@ esac done + + case "$host_os" in + netbsd*) + if test -n "$cpprt0_file"; then + predep_objects=`eval echo $predep_objects | sed -e 's:/usr/lib/c++rt0.o:$cpprt0_file:'` + fi + ;; + esac # Clean up. rm -f a.out @ 1.8 log @Update Darwin patches to match libtool 1.4.3 @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.7 2002/08/25 18:38:35 jlam Exp $ @ 1.7 log @Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5.2.1 2002/06/23 18:44:31 jlam Exp $ d18 1 a18 1 + archive_cmds='$CC $(if test .$module = .yes; then echo -bundle; else echo -dynamiclib; fi) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts -install_name $rpath/$soname $verstring' @ 1.6 log @Make libtool work on Darwin, based on the patches in pkg/16104 by Jeff Putsch . Also repair a typo that had prevented '-fno-common' from being passed along (found and fixed by skrll). Bump PKGREVISION. Approved by skrll. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2001/10/26 10:58:03 skrll Exp $ @ 1.5 log @Fix a typo that has there for ages so that the previous fix for new toolchains actually works. I had reports that the problem that the definition of "output_verbose_link_cmd" was supposed to fix had indeed been fixed. (Never believe everything you read) @ text @d1 1 a1 1 $NetBSD$ d5 2 a6 1 @@@@ -383,7 +383,23 @@@@ d9 16 d47 10 a56 1 @@@@ -982,6 +998,14 @@@@ @ 1.5.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.6 2002/05/21 14:03:37 schmonz Exp $ d5 1 a5 2 @@@@ -382,8 +382,40 @@@@ ;; a7 16 + darwin* | rhapsody*) + case "$host_os" in + rhapsody* | darwin1.[012]) + allow_undefined_flag='-undefined suppress' + ;; + *) # Darwin 1.3 on + allow_undefined_flag='-flat_namespace -undefined suppress' + ;; + esac + archive_cmds='$CC $(if test .$module = .yes; then echo -bundle; else echo -dynamiclib; fi) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts -install_name $rpath/$soname $verstring' + # We need to add '_' to the symbols in $export_symbols first + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib' + hardcode_direct=yes + hardcode_shlibpath_var=no + whole_archive_flag_spec='-all_load $convenience' + ;; d30 1 a30 10 @@@@ -690,7 +722,7 @@@@ darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - lt_cv_prog_cc_pic='-fno-common' + ac_cv_prog_cc_pic='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all @@@@ -982,6 +1014,14 @@@@ @ 1.4 log @Fix ltcf-cxx.sh to work on -current/new toolchains. That is make sure that /usr/lib/crtbeginS.o and /usr/lib/crtendS.o make it into {pre,post}dep_objects. Fixes pkg/14353 from Witold J. Wnuk Tested as "still" working on 1.5.2. Bump minor number of pkg and make pkgsrc depend on this version. @ text @d26 1 a26 1 + output_verbose_link_cmds='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep conftest.$objext | sed -e "s/-lgcc -lc -lgcc//"' @ 1.3 log @Update libtool to a newer snapshot. Notable changes are: * Fix memory leak in libltdl * Handle large dependency_libs entries in .la files better * Integration of a lot of the NetBSD changes @ text @d26 1 a26 1 + output_verbose_link_cmds='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L" | sed -e "s/-lgcc -lc -lgcc//"' @ 1.2 log @Change the workaround for old compiler versions so that it actually works. Actually simply the workaround in the process. Fixes problems noted by SUNAGAWA Keiki on tech-pkg and David W. Talmage in private email. Tested by SUNAGAWA Keiki. @ text @d3 1 a3 1 --- ltcf-cxx.sh.orig Fri Feb 16 05:05:03 2001 d5 1 a5 1 @@@@ -368,7 +368,23 @@@@ d30 1 a30 1 @@@@ -943,6 +959,14 @@@@ @ 1.1 log @Update libtool to be based on a CVS snapshot of the multi-language branch @ text @d3 1 a3 1 --- ltcf-cxx.sh.orig Tue Feb 6 05:05:05 2001 d5 1 a5 1 @@@@ -290,7 +290,33 @@@@ a23 10 + else + # Workround pre 1.5 gcc LIBGCC_SPEC problems. + if $CC -dumpspecs | grep -A1 libgcc | grep shared >/dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + # This causes problems libgcc isn't available as a shared object. + archive_cmds='$LD -shared -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname' + wlarc= + fi d25 1 a25 1 + # Make sure that we don't add -lgcc back in via postdep. d30 1 a30 1 @@@@ -859,6 +885,14 @@@@ @