head 1.38; access; symbols pkgsrc-2016Q4:1.37.0.30 pkgsrc-2016Q4-base:1.37 pkgsrc-2016Q3:1.37.0.28 pkgsrc-2016Q3-base:1.37 pkgsrc-2016Q2:1.37.0.26 pkgsrc-2016Q2-base:1.37 pkgsrc-2016Q1:1.37.0.24 pkgsrc-2016Q1-base:1.37 pkgsrc-2015Q4:1.37.0.22 pkgsrc-2015Q4-base:1.37 pkgsrc-2015Q3:1.37.0.20 pkgsrc-2015Q3-base:1.37 pkgsrc-2015Q2:1.37.0.18 pkgsrc-2015Q2-base:1.37 pkgsrc-2015Q1:1.37.0.16 pkgsrc-2015Q1-base:1.37 pkgsrc-2014Q4:1.37.0.14 pkgsrc-2014Q4-base:1.37 pkgsrc-2014Q3:1.37.0.12 pkgsrc-2014Q3-base:1.37 pkgsrc-2014Q2:1.37.0.10 pkgsrc-2014Q2-base:1.37 pkgsrc-2014Q1:1.37.0.8 pkgsrc-2014Q1-base:1.37 pkgsrc-2013Q4:1.37.0.6 pkgsrc-2013Q4-base:1.37 pkgsrc-2013Q3:1.37.0.4 pkgsrc-2013Q3-base:1.37 pkgsrc-2013Q2:1.37.0.2 pkgsrc-2013Q2-base:1.37 pkgsrc-2013Q1:1.36.0.28 pkgsrc-2013Q1-base:1.36 pkgsrc-2012Q4:1.36.0.26 pkgsrc-2012Q4-base:1.36 pkgsrc-2012Q3:1.36.0.24 pkgsrc-2012Q3-base:1.36 pkgsrc-2012Q2:1.36.0.22 pkgsrc-2012Q2-base:1.36 pkgsrc-2012Q1:1.36.0.20 pkgsrc-2012Q1-base:1.36 pkgsrc-2011Q4:1.36.0.18 pkgsrc-2011Q4-base:1.36 pkgsrc-2011Q3:1.36.0.16 pkgsrc-2011Q3-base:1.36 pkgsrc-2011Q2:1.36.0.14 pkgsrc-2011Q2-base:1.36 pkgsrc-2011Q1:1.36.0.12 pkgsrc-2011Q1-base:1.36 pkgsrc-2010Q4:1.36.0.10 pkgsrc-2010Q4-base:1.36 pkgsrc-2010Q3:1.36.0.8 pkgsrc-2010Q3-base:1.36 pkgsrc-2010Q2:1.36.0.6 pkgsrc-2010Q2-base:1.36 pkgsrc-2010Q1:1.36.0.4 pkgsrc-2010Q1-base:1.36 pkgsrc-2009Q4:1.36.0.2 pkgsrc-2009Q4-base:1.36 pkgsrc-2009Q3:1.35.0.34 pkgsrc-2009Q3-base:1.35 pkgsrc-2009Q2:1.35.0.32 pkgsrc-2009Q2-base:1.35 pkgsrc-2009Q1:1.35.0.30 pkgsrc-2009Q1-base:1.35 pkgsrc-2008Q4:1.35.0.28 pkgsrc-2008Q4-base:1.35 pkgsrc-2008Q3:1.35.0.26 pkgsrc-2008Q3-base:1.35 cube-native-xorg:1.35.0.24 cube-native-xorg-base:1.35 pkgsrc-2008Q2:1.35.0.22 pkgsrc-2008Q2-base:1.35 cwrapper:1.35.0.20 pkgsrc-2008Q1:1.35.0.18 pkgsrc-2008Q1-base:1.35 pkgsrc-2007Q4:1.35.0.16 pkgsrc-2007Q4-base:1.35 pkgsrc-2007Q3:1.35.0.14 pkgsrc-2007Q3-base:1.35 pkgsrc-2007Q2:1.35.0.12 pkgsrc-2007Q2-base:1.35 pkgsrc-2007Q1:1.35.0.10 pkgsrc-2007Q1-base:1.35 pkgsrc-2006Q4:1.35.0.8 pkgsrc-2006Q4-base:1.35 pkgsrc-2006Q3:1.35.0.6 pkgsrc-2006Q3-base:1.35 pkgsrc-2006Q2:1.35.0.4 pkgsrc-2006Q2-base:1.35 pkgsrc-2006Q1:1.35.0.2 pkgsrc-2006Q1-base:1.35 tv-libtool-1-5-18-tmpdirfix:1.34.0.8 pkgsrc-2005Q4:1.34.0.6 pkgsrc-2005Q4-base:1.34 pkgsrc-2005Q3:1.34.0.4 pkgsrc-2005Q3-base:1.34 pkgsrc-2005Q2:1.34.0.2 pkgsrc-2005Q2-base:1.34 pkgsrc-2005Q1:1.33.0.10 pkgsrc-2005Q1-base:1.33 pkgsrc-2004Q4:1.33.0.8 pkgsrc-2004Q4-base:1.33 pkgsrc-2004Q3:1.33.0.6 pkgsrc-2004Q3-base:1.33 pkgsrc-2004Q2:1.33.0.4 pkgsrc-2004Q2-base:1.33 pkgsrc-2004Q1:1.33.0.2 pkgsrc-2004Q1-base:1.33 pkgsrc-2003Q4:1.30.0.2 pkgsrc-2003Q4-base:1.30 netbsd-1-6-1:1.29.0.2 netbsd-1-6-1-base:1.29 netbsd-1-6:1.27.0.6 netbsd-1-6-RELEASE-base:1.27 pkgviews:1.27.0.2 pkgviews-base:1.27 buildlink2:1.26.0.2 buildlink2-base:1.27 netbsd-1-5-PATCH003:1.26 netbsd-1-5-PATCH001:1.23 netbsd-1-5-RELEASE:1.14 netbsd-1-4-PATCH003:1.14 netbsd-1-4-PATCH002:1.7 comdex-fall-1999:1.7 netbsd-1-4-PATCH001:1.6 netbsd-1-4-RELEASE:1.6 netbsd-1-3-PATCH003:1.4 FREEBSD-19980711:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.38 date 2017.03.06.16.14.07; author jperkin; state dead; branches; next 1.37; commitid o6zvJAUprKsbrvIz; 1.37 date 2013.04.12.13.44.08; author joerg; state Exp; branches; next 1.36; 1.36 date 2009.12.15.17.35.37; author joerg; state Exp; branches; next 1.35; 1.35 date 2006.01.30.22.19.56; author tv; state Exp; branches; next 1.34; 1.34 date 2005.05.18.11.57.12; author adam; state Exp; branches; next 1.33; 1.33 date 2004.02.05.20.14.06; author skrll; state Exp; branches; next 1.32; 1.32 date 2003.12.11.22.15.30; author reed; state Exp; branches; next 1.31; 1.31 date 2003.12.03.21.18.19; author reed; state Exp; branches; next 1.30; 1.30 date 2003.03.27.18.56.58; author jschauma; state Exp; branches; next 1.29; 1.29 date 2002.11.17.11.55.01; author grant; state Exp; branches; next 1.28; 1.28 date 2002.08.25.18.38.35; author jlam; state Exp; branches; next 1.27; 1.27 date 2002.05.21.14.03.37; author schmonz; state Exp; branches; next 1.26; 1.26 date 2001.10.04.07.58.02; author skrll; state Exp; branches 1.26.2.1; next 1.25; 1.25 date 2001.06.14.14.55.46; author skrll; state Exp; branches; next 1.24; 1.24 date 2001.05.22.10.31.08; author abs; state Exp; branches; next 1.23; 1.23 date 2001.02.28.21.20.31; author skrll; state Exp; branches; next 1.22; 1.22 date 2001.02.27.08.20.25; author skrll; state Exp; branches; next 1.21; 1.21 date 2001.01.15.15.18.24; author jlam; state Exp; branches; next 1.20; 1.20 date 2001.01.09.18.37.46; author bad; state Exp; branches; next 1.19; 1.19 date 2000.12.28.17.55.38; author wiz; state Exp; branches; next 1.18; 1.18 date 2000.11.26.21.00.11; author mycroft; state Exp; branches; next 1.17; 1.17 date 2000.11.26.11.22.40; author mycroft; state Exp; branches; next 1.16; 1.16 date 2000.11.26.11.03.42; author mycroft; state Exp; branches; next 1.15; 1.15 date 2000.11.17.05.24.01; author mycroft; state Exp; branches; next 1.14; 1.14 date 2000.10.12.19.07.07; author skrll; state Exp; branches; next 1.13; 1.13 date 2000.09.14.10.20.46; author skrll; state Exp; branches; next 1.12; 1.12 date 2000.08.26.07.35.19; author veego; state Exp; branches; next 1.11; 1.11 date 2000.06.29.08.06.06; author skrll; state Exp; branches; next 1.10; 1.10 date 2000.06.04.17.56.17; author rh; state Exp; branches; next 1.9; 1.9 date 2000.05.31.17.25.56; author rh; state Exp; branches; next 1.8; 1.8 date 2000.05.02.18.48.40; author danw; state dead; branches; next 1.7; 1.7 date 99.09.02.21.35.51; author christos; state Exp; branches; next 1.6; 1.6 date 98.11.12.16.27.31; author agc; state Exp; branches; next 1.5; 1.5 date 98.10.02.14.49.33; author tv; state Exp; branches; next 1.4; 1.4 date 98.08.07.10.40.25; author agc; state Exp; branches; next 1.3; 1.3 date 98.07.13.02.53.56; author tv; state Exp; branches; next 1.2; 1.2 date 98.07.13.01.53.49; author tv; state Exp; branches; next 1.1; 1.1 date 98.07.13.01.50.08; author tv; state Exp; branches 1.1.1.1; next ; 1.26.2.1 date 2002.06.23.18.44.30; author jlam; state Exp; branches; next ; 1.1.1.1 date 98.07.13.01.50.08; author tv; state Exp; branches; next ; desc @@ 1.38 log @Update libtool packages to 2.4.6. Changes since 2.4.2 are too numerous to mention, with over 4,700 lines in the ChangeLog file. However, this release does at least fix a large number of build failures on SmartOS, and doesn't appear to cause any obvious regressions in bulk builds performed by Joerg and myself. Some pkgsrc cleanups while here, including merging the MirBSD patches correctly. It couldn't be made much clearer how to properly integrate patches here to ensure they are not lost. Next time you might not be so fortunate! @ text @$NetBSD: patch-aa,v 1.37 2013/04/12 13:44:08 joerg Exp $ --- Makefile.in.orig 2011-10-17 10:18:55.000000000 +0000 +++ Makefile.in @@@@ -638,9 +638,7 @@@@ sub_configure_deps = $(sub_aclocal_m4_de info_TEXINFOS = doc/libtool.texi doc_libtool_TEXINFOS = doc/PLATFORMS doc/fdl.texi doc/notes.texi dist_man1_MANS = $(srcdir)/doc/libtool.1 $(srcdir)/doc/libtoolize.1 -update_mans = \ - PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \ - $(HELP2MAN) --output=$@@ +update_mans = true # These are required by libtoolize and must be executable when installed. @@@@ -2033,7 +2031,7 @@@@ all-am: Makefile $(INFO_DEPS) $(LTLIBRAR $(HEADERS) config.h all-local installdirs: installdirs-recursive installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(ltdlincludedir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(ltdlincludedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) @@@@ -2104,7 +2102,7 @@@@ info: info-recursive info-am: $(INFO_DEPS) install-data-am: install-data-local install-includeHEADERS \ - install-info-am install-ltdlincludeHEADERS install-man + install-ltdlincludeHEADERS install-man install-dvi: install-dvi-recursive @ 1.37 log @Update to libtool-2.4.2: - Initial support for Go. - On Mac OS X, try to open .dylib as well as .so in lt_dlopenext. - sysroot support - man pages for libtool and libtoolize - various smaller bug fixes pkgsrc side: remove support for pre-ELF NetBSD @ text @d1 1 a1 1 $NetBSD$ @ 1.36 log @Update to libtool-2.2.6b. This switches libtool to the new main branch. Changes are many, important for pkgsrc: - much higher speed (up to 30% faster for the overall build of libX11) - less magic for detection of the tag The pkgsrc integration of f2c has been changed to be more sane. libtool itself now depends on the f2c frontend to use proper auto-configuration and only fakes up the library. This part is encapsulated in mk/compiler/f2c.mk. @ text @d3 1 a3 1 --- Makefile.in.orig 2009-09-11 03:13:51.000000000 +0200 d5 13 a17 2 @@@@ -1594,7 +1594,7 @@@@ all-am: Makefile $(INFO_DEPS) $(LTLIBRAR config.h all-local d20 2 a21 2 - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(ltdlincludedir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(ltdlincludedir)"; do \ d25 1 a25 1 @@@@ -1658,7 +1658,7 @@@@ info: info-recursive d29 2 a30 2 - install-info-am install-ltdlincludeHEADERS + install-ltdlincludeHEADERS @ 1.35 log @Update libtool to 1.5.22. Too many changes for CVS commit logs; here's some highlighted changes: * Fixes minor /tmp race condition bug. * Integrated Interix support; no longer requires pkgsrc hackery. * shlibtool is a wrapper using the (now working) "--tag=disable-static". * Several other bugs fixed, removing some pkgsrc-local changes. @ text @d3 1 a3 1 --- Makefile.in.orig 2005-12-18 17:13:48.000000000 -0500 d5 18 a22 9 @@@@ -220,7 +220,7 @@@@ target_alias = @@target_alias@@ top_builddir = @@top_builddir@@ top_srcdir = @@top_srcdir@@ AUTOMAKE_OPTIONS = 1.3e gnu -BUILD_SUBDIRS = . libltdl doc tests +BUILD_SUBDIRS = . libltdl tests SUBDIRS = $(BUILD_SUBDIRS) DIST_SUBDIRS = $(BUILD_SUBDIRS) $(CONF_SUBDIRS) CPPLAGS = @@CPPFLAGS@@ @ 1.34 log @Changes 1.5.18: * Fix regression in 1.5.16 to not install libtldl data files from `libtoolize --ltdl'ed software packages. * Bug Fixes. Changes 1.5.16: * Allow shell special characters like `$' in source file names, but not in object names, to enhance GCJ support. * Detection of compiler wrappers like distcc/ccache and $host_alias prefix. * More robust tests for PIC flag, `-c -o', in presence of warnings. * Bug Fixes, among others for convenience archives regression on Solaris and timestamp-preserving `libtoolize --copy --ltdl'. @ text @d3 1 a3 1 --- Makefile.in.orig Mon May 16 11:33:40 2005 d5 3 a7 3 @@@@ -211,7 +211,7 @@@@ subdirs = @@subdirs@@ sysconfdir = @@sysconfdir@@ target_alias = @@target_alias@@ @ 1.33 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 @d3 1 a3 1 --- Makefile.in.orig 2004-01-25 12:36:36.000000000 +0000 d5 1 a5 1 @@@@ -202,7 +202,7 @@@@ subdirs = @@subdirs@@ @ 1.32 log @Added better support for BSD/OS for libtool. libtool has never officially been ported to BSD/OS 5. So this adds that support. Added three more patches and changed two. Based on some ideas from Steven M. Schultz and discussed with skrll@@NetBSD. Bump PKGREVISION. @ text @d3 11 a13 84 --- ltconfig.in.orig Mon May 21 00:05:06 2001 +++ ltconfig.in Mon Dec 8 21:47:31 2003 @@@@ -1051,9 +1051,10 @@@@ lt_cv_dlopen_self=yes ;; -bsdi4*) - version_type=linux +bsdi*) + version_type=sunos need_version=no + need_lib_prefix=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' @@@@ -1104,7 +1105,7 @@@@ version_type=darwin need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}${versuffix}.`test .$module = .yes && echo so || echo dylib` ${libname}${release}${major}.$`test .$module = .yes && echo so || echo dylib` ${libname}.`test .$module = .yes && echo so || echo dylib`' + library_names_spec='${libname}${release}${versuffix}.`test .$module = .yes && echo so || echo dylib` ${libname}${release}${major}.`test .$module = .yes && echo so || echo dylib` ${libname}.`test .$module = .yes && echo so || echo dylib`' soname_spec='${libname}${release}${major}.`test .$module = .yes && echo so || echo dylib`' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH @@@@ -1116,16 +1117,17 @@@@ freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + version_type=sunos + case $objformat in + elf*) + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' need_version=no need_lc=no need_lib_prefix=no ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + *) + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' need_version=yes ;; esac @@@@ -1167,7 +1169,7 @@@@ ;; irix5* | irix6*) - version_type=irix + version_type=sunos need_lib_prefix=no need_version=no soname_spec='${libname}${release}.so$major' @@@@ -1198,7 +1200,7 @@@@ # This must be Linux ELF. linux-gnu*) - version_type=linux + version_type=sunos need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' @@@@ -1236,6 +1238,8 @@@@ shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes + sys_lib_dlsearch_path_spec="/usr/lib" + sys_lib_search_path_spec="/usr/lib" ;; newsos6) @@@@ -1282,7 +1286,7 @@@@ ;; solaris*) - version_type=linux + version_type=sunos need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' @ 1.31 log @Fix bsdi4 (BSD/OS) support in ltconfig (via patch-aa). (Set version_type=sunos for bsdi in libtool.) Regenerate distinfo for patch-aa. Bump PKGREVISION (especially so BSD/OS support will work using _OPSYS_LIBTOOL_REQD.) This is for my PR #23058. @ text @d1 2 d4 3 a6 2 +++ ltconfig.in Sat Oct 4 14:32:02 2003 @@@@ -1052,7 +1052,7 @@@@ d9 1 a9 1 bsdi4*) d11 1 d14 1 d17 2 a18 1 @@@@ -1104,7 +1104,7 @@@@ d27 1 a27 1 @@@@ -1116,16 +1116,17 @@@@ d51 1 a51 1 @@@@ -1167,7 +1168,7 @@@@ d60 1 a60 1 @@@@ -1198,7 +1199,7 @@@@ d69 1 a69 1 @@@@ -1236,6 +1237,8 @@@@ d78 1 a78 1 @@@@ -1282,7 +1285,7 @@@@ @ 1.30 log @Do the right thing on irix and use version=sunos as recommended by Nick Hudson. @ text @d1 11 a11 4 $NetBSD: $ --- ltconfig.in.orig Sun May 20 21:05:06 2001 +++ ltconfig.in Thu Mar 27 10:05:44 2003 @ 1.29 log @fix shared library names on FreeBSD to be like NetBSD and Solaris in preparation for FreeBSD pkgsrc support. bump PKGREVISION. ok'd by nick. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- ltconfig.in.orig Mon May 21 04:05:06 2001 +++ ltconfig.in Thu Nov 14 06:37:11 2002 d38 9 @ 1.28 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-aa,v 1.26.2.1 2002/06/23 18:44:30 jlam Exp $ d3 2 a4 2 --- ltconfig.in.orig Mon May 21 05:05:06 2001 +++ ltconfig.in d14 25 a38 1 @@@@ -1198,7 +1198,7 @@@@ d47 1 a47 1 @@@@ -1236,6 +1236,8 @@@@ d56 1 a56 1 @@@@ -1282,7 +1284,7 @@@@ @ 1.27 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-aa,v 1.26 2001/10/04 07:58:02 skrll Exp $ @ 1.26 log @There is only one system library path: /usr/lib. Don't include /lib and /usr/local/lib. Discussed with Johnny Lam and Bernd Ernesti Problem reported by Jeremy C. Reed on tech-pkg @ text @d1 1 a1 1 $NetBSD$ d5 9 @ 1.26.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.27 2002/05/21 14:03:37 schmonz Exp $ a4 9 @@@@ -1104,7 +1104,7 @@@@ version_type=darwin need_lib_prefix=no need_version=no - library_names_spec='${libname}${release}${versuffix}.`test .$module = .yes && echo so || echo dylib` ${libname}${release}${major}.$`test .$module = .yes && echo so || echo dylib` ${libname}.`test .$module = .yes && echo so || echo dylib`' + library_names_spec='${libname}${release}${versuffix}.`test .$module = .yes && echo so || echo dylib` ${libname}${release}${major}.`test .$module = .yes && echo so || echo dylib` ${libname}.`test .$module = .yes && echo so || echo dylib`' soname_spec='${libname}${release}${major}.`test .$module = .yes && echo so || echo dylib`' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH @ 1.25 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 @d14 10 a23 1 @@@@ -1282,7 +1282,7 @@@@ @ 1.24 log @Handle shared libraries the same on Linux as Solaris and NetBSD @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.23 2001/02/28 21:20:31 skrll Exp $ d3 3 a5 3 --- ltconfig.in.orig Tue May 22 11:10:20 2001 +++ ltconfig.in Tue May 22 11:07:29 2001 @@@@ -1118,7 +1118,7 @@@@ d14 1 a14 10 @@@@ -1142,6 +1142,8 @@@@ netbsd*) version_type=sunos + need_lib_prefix=no + need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' @@@@ -1200,7 +1202,7 @@@@ @ 1.23 log @Restore old numbering scheme for libraries on Solaris as discussed on tech-pkg. @ text @d1 1 a1 1 $NetBSD$ d3 11 a13 2 --- ltconfig.in.orig Fri Feb 16 05:05:03 2001 +++ ltconfig.in @ 1.22 log @Update libtool to be based on a CVS snapshot of the multi-language branch @ text @d3 1 a3 1 --- ltconfig.in.orig Sat Feb 3 05:05:03 2001 d5 1 a5 1 @@@@ -1120,6 +1120,8 @@@@ d14 9 @ 1.21 log @Move check for C++ contructors/destructors to occur earlier to prevent passing $whole_archive_flag_spec to nm. @ text @d3 1 a3 1 --- ltconfig.in.orig Fri May 26 21:58:57 2000 d5 1 a5 59 @@@@ -1095,6 +1095,13 @@@@ # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. +cpprt0= +# C++ startup code. +cppopts= +# option to archive_cmds that causes cpprt0 to be linked in +ctor_check_cmd='$NM $libobjs $convenience | grep '\''___[CD]TOR_LIST__'\'' >/dev/null 2>&1' + + case "$host_os" in cygwin* | mingw*) @@@@ -1194,11 +1201,17 @@@@ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds='$LD -Bshareable -o $lib $cppopts $libobjs $deplibs $linkopts' + wlarc= + # Add in C++ constructor/destructor support + if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then + cpprt0="${PREFIX}/lib/c++rt0/c++rt0.o.PIC" + elif test -f /usr/lib/c++rt0.o; then + cpprt0="/usr/lib/c++rt0.o" + fi else - archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' - # can we support soname and/or expsyms with a.out? -oliva + archive_cmds='$CC -shared $libobjs $wllinkopts $deplibs ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $wllinkopts $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; @@@@ -1392,11 +1405,19 @@@@ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' # a.out + archive_cmds='$LD -Bshareable -o $lib $cppopts $libobjs $deplibs $linkopts' + # Add in C++ constructor/destructor support + if test -f ${PREFIX}/lib/c++rt0/c++rt0.o.PIC; then + cpprt0="${PREFIX}/lib/c++rt0/c++rt0.o.PIC" + elif test -f /usr/lib/c++rt0.o; then + cpprt0="/usr/lib/c++rt0.o" + fi else + # I don't think there are any ELF toolchains with non-gnu ld. + # I'm not touching this just in case! archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linkopts' # ELF fi - hardcode_libdir_flag_spec='${wl}-R$libdir' + hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; @@@@ -2007,14 +2028,23 @@@@ d10 1 a11 3 + deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library' + file_magic_cmd=/usr/bin/file + file_magic_test_file=`echo /usr/lib/libc.so*` a13 50 dynamic_linker='NetBSD (a.out) ld.so' + need_version=yes else + deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' + file_magic_cmd=/usr/bin/file + file_magic_test_file=`echo /usr/lib/libc.so*` library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' soname_spec='${libname}${release}.so$major' dynamic_linker='NetBSD ld.elf_so' + need_version=no fi shlibpath_var=LD_LIBRARY_PATH ;; @@@@ -2069,7 +2099,7 @@@@ ;; solaris*) - version_type=linux + version_type=sunos need_lib_prefix=no need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' @@@@ -2706,6 +2736,7 @@@@ old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds postuninstall_cmds \ file_magic_cmd export_symbols_cmds deplibs_check_method allow_undefined_flag no_undefined_flag \ finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ + ctor_check_cmd \ hardcode_libdir_flag_spec hardcode_libdir_separator \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do @@@@ -2715,6 +2746,7 @@@@ old_postinstall_cmds | old_postuninstall_cmds | \ export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ postinstall_cmds | postuninstall_cmds | \ + ctor_check_cmd | \ finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" @@@@ -3017,6 +3049,11 @@@@ # Symbols that must always be exported. include_expsyms=$include_expsyms + +# C++ startup code +cpprt0="$cpprt0" +cppopts= +ctor_check_cmd=$ctor_check_cmd EOF @ 1.20 log @On a.out systems link shared libraries against c++rt0.o only if there actually are CTORS/DTORS in the objects that go into the library. This makes pkgsrc under 1.3.x not blow up on C libraries that were built with libtool. E.g. everything that linked against -lintl would dump core. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.19 2000/12/28 17:55:38 wiz Exp $ d3 2 a4 2 --- ltconfig.in.orig Sat May 27 03:58:57 2000 +++ ltconfig.in Tue Jan 9 19:21:16 2001 d13 1 a13 1 +ctor_check_cmd='$NM $libobjs | grep '\''___[CD]TOR_LIST__'\'' >/dev/null 2>&1' @ 1.19 log @Update to 1.3.5nb10: wllinklibs have to be before deplibs to take effect (else they won't get added to the RPATH, at least not on i386/current). @ text @d1 1 a1 1 $NetBSD$ d4 16 a19 2 +++ ltconfig.in @@@@ -1194,11 +1194,17 @@@@ d25 1 a25 1 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' d29 1 a29 1 + archive_cmds="$archive_cmds ${PREFIX}/lib/c++rt0/c++rt0.o.PIC" d31 1 a31 1 + archive_cmds="$archive_cmds /usr/lib/c++rt0.o" d41 1 a41 1 @@@@ -1392,11 +1398,19 @@@@ d46 1 a46 1 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' d49 1 a49 1 + archive_cmds="$archive_cmds ${PREFIX}/lib/c++rt0/c++rt0.o.PIC" d51 1 a51 1 + archive_cmds="$archive_cmds /usr/lib/c++rt0.o" d63 1 a63 1 @@@@ -2007,14 +2021,23 @@@@ d87 1 a87 1 @@@@ -2069,7 +2092,7 @@@@ d96 28 @ 1.18 log @Set need_lib_prefix=no for all NetBSD platforms. gnumeric import modules and gnome-python modules don't work without this. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.17 2000/11/26 11:22:40 mycroft Exp $ d3 2 a4 2 --- ltconfig.in.orig Sat May 27 01:58:57 2000 +++ ltconfig.in Sun Nov 26 20:58:13 2000 d22 2 a23 2 + archive_cmds='$CC -shared $libobjs $deplibs $wllinkopts ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $wllinkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' @ 1.17 log @*SIGH* The previous patch could cause problems in a couple of oddball cases. So, set need_version=yes for a.out, and hack avoid-version so it works on a.out platforms. @ text @d1 1 a1 1 $NetBSD$ d4 1 a4 1 +++ ltconfig.in Sun Nov 26 11:19:29 2000 d49 2 a50 1 @@@@ -2008,13 +2022,21 @@@@ d53 1 d73 1 a73 1 @@@@ -2069,7 +2091,7 @@@@ @ 1.16 log @need_version is mostly bullshit. It only succeeds in breaking everything that loads shlib components at run-time on a.out systems (such as imlib, gtk themes, gdk-pixbuf, and gnumeric). So, disable it for all NetBSD platforms. (Note: This requires updating some PLISTs.) @ text @d4 1 a4 1 +++ ltconfig.in Sun Nov 26 10:55:47 2000 d49 1 a49 2 @@@@ -2007,11 +2021,18 @@@@ a51 1 + need_version=no d59 1 d67 5 a71 1 @@@@ -2069,7 +2090,7 @@@@ @ 1.15 log @Make libtool actually use library dependencies for a.out, since we do in fact support them. This fixes a whole pile of lossage in GNOME-land. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.14 2000/10/12 19:07:07 skrll Exp $ d4 1 a4 1 +++ ltconfig.in Fri Nov 17 05:14:58 2000 d49 2 a50 1 @@@@ -2008,10 +2022,16 @@@@ d53 1 d68 1 a68 1 @@@@ -2069,7 +2089,7 @@@@ @ 1.14 log @Make sure that -Wl does the right thing on a.out. Make sure that an -fPIC c++rt0 is pulled in for sparc<1.4.3 Fixes: pkg/11166, pkg/10190, pkg/11189, and port-sparc/10846 @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- ltconfig.in.orig Sat May 27 02:58:57 2000 +++ ltconfig.in d49 8 a56 1 @@@@ -2012,6 +2026,9 @@@@ d66 1 a66 1 @@@@ -2069,7 +2086,7 @@@@ @ 1.13 log @Depreciate use of cc -shared as test and cc as linker in a.out case. Bump to nb5. This fixes PR/10908. @ text @d5 1 a5 1 @@@@ -1194,11 +1194,15 @@@@ d13 4 a16 2 + if test -f /usr/lib/c++rt0.o; then + # Add in C++ constructor/destructor support d27 1 a27 1 @@@@ -1392,9 +1396,17 @@@@ d33 4 a36 3 + wl= + if test -f /usr/lib/c++rt0.o; then + # Add in C++ constructor/destructor support a42 1 + wl= d44 2 a45 1 hardcode_libdir_flag_spec='${wl}-R$libdir' d47 3 a49 1 @@@@ -2012,6 +2024,9 @@@@ d59 1 a59 1 @@@@ -2069,7 +2084,7 @@@@ @ 1.12 log @Also use the solaris library naming on Solaris and not the linux one. @ text @d1 5 a5 4 $NetBSD: patch-aa,v 1.11 2000/06/29 08:06:06 skrll Exp $ --- ./ltconfig.in.orig Sat May 27 02:58:57 2000 +++ ./ltconfig.in Thu Jun 29 09:00:00 2000 @@@@ -1194,11 +1194,20 @@@@ d11 5 a15 10 + if $CC -dumpspecs | grep 'c++rt0' >/dev/null; then + # This a.out compiler supports the -shared option + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $wllinkopts' + else + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' + wlarc= + if test -f /usr/lib/c++rt0.o; then + # Add in C++ constructor/destructor support + archive_cmds="$archive_cmds /usr/lib/c++rt0.o" + fi d25 1 a25 1 @@@@ -1392,9 +1401,22 @@@@ d30 5 a34 10 + if $CC -dumpspecs | grep 'c++rt0' > /dev/null; then + # This a.out compiler supports the -shared option + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $wllinkopts' + else + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' + wl= + if test -f /usr/lib/c++rt0.o; then + # Add in C++ constructor/destructor support + archive_cmds="$archive_cmds /usr/lib/c++rt0.o" + fi d44 1 a44 1 @@@@ -2012,6 +2034,9 @@@@ d54 1 a54 1 @@@@ -2069,6 +2094,6 @@@@ @ 1.11 log @Update to support C++ in a different way to pkglibtool. There is no --cplusplus option is should just work. Thanks to Todd Verling for help with this. I've been sitting on this update while I played with deplibs_check_method for a.out. There seems to be a problem related to dlopen stuff if file_magic is used. Still investigating. Version bumped to nb4. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2000/06/04 17:56:17 rh Exp $ d63 9 @ 1.10 log @Fix aout brokenness. Bump libtool to 1.3.5nb3. @ text @d1 4 a4 5 $NetBSD$ --- ltconfig.in.orig Sat May 27 03:58:57 2000 +++ ltconfig.in Sun Jun 4 19:35:00 2000 @@@@ -1194,11 +1194,11 @@@@ d10 14 a23 4 - else archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' # can we support soname and/or expsyms with a.out? -oliva + else d29 25 a53 1 @@@@ -2012,6 +2012,9 @@@@ @ 1.9 log @Update libtool to 1.3.5. Changes are mainly bugfixes. This also fixes PRs 9902 by Geoff C. Wing and 10106 by Dave Sainty. @ text @d3 2 a4 2 --- ltconfig.in.orig Wed May 31 19:08:31 2000 +++ ltconfig.in Wed May 31 19:13:22 2000 d15 2 a16 2 + archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' @ 1.8 log @Remove patches to deal with two bugs involving configure's handling of INSTALL which have both been worked around in bsd.pkg.mk now. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 1999/09/02 21:35:51 christos Exp $ d3 3 a5 15 --- configure.orig Fri Jul 2 12:01:56 1999 +++ configure Fri Aug 20 18:22:00 1999 @@@@ -1853,10 +1853,13 @@@@ *) # Relative path. ac_sub_cache_file="$ac_dots$cache_file" ;; esac - case "$ac_given_INSTALL" in + if [ -z "$ac_given_INSTALL" ]; then + ac_given_INSTALL="$INSTALL" + fi + case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac + esac d7 23 a29 2 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" # The eval makes quoting arguments work. @ 1.7 log @update for libtool-1.3.3 @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Add missing NetBSD RCS Id. @ text @d3 15 a17 32 --- ltconfig.orig Fri Mar 20 03:00:29 1998 +++ ltconfig Sun Sep 27 11:47:30 1998 @@@@ -808,7 +808,11 @@@@ netbsd*) # Tested with NetBSD 1.2 ld - archive_cmds='$LD -Bshareable -o $lib$libobjs' + if $CC -E - -dM } @@set objdir .libs a34 5 -@@dircategory GNU programming tools +@@dircategory Programming & development tools @@direntry * Libtool: (libtool). Generic shared library support script. @@end direntry @ 1.1.1.1 log @Import of FreeBSD's libtool pkg (patches to follow). @ text @@