diff options
-rw-r--r-- | devel/libtool/Makefile | 4 | ||||
-rw-r--r-- | devel/libtool/files/md5 | 4 | ||||
-rw-r--r-- | devel/libtool/files/patch-sum | 7 | ||||
-rw-r--r-- | devel/libtool/patches/patch-aa | 29 |
4 files changed, 35 insertions, 9 deletions
diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile index 0f6ff9b0955..3d7641745ce 100644 --- a/devel/libtool/Makefile +++ b/devel/libtool/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2000/04/02 17:16:00 fredb Exp $ +# $NetBSD: Makefile,v 1.14 2000/05/31 17:25:54 rh Exp $ # -DISTNAME= libtool-1.3.4 +DISTNAME= libtool-1.3.5 CATEGORIES= devel pkgtools MASTER_SITES= ${MASTER_SITE_GNU:=libtool/} diff --git a/devel/libtool/files/md5 b/devel/libtool/files/md5 index 9c6273d9859..38d2a8f3790 100644 --- a/devel/libtool/files/md5 +++ b/devel/libtool/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.4 2000/02/12 16:07:10 fredb Exp $ +$NetBSD: md5,v 1.5 2000/05/31 17:25:55 rh Exp $ -MD5 (libtool-1.3.4.tar.gz) = 0c3844fedd382e5796865ca58842713e +MD5 (libtool-1.3.5.tar.gz) = fa26a07c978ad05d1f88ed7a472daa49 diff --git a/devel/libtool/files/patch-sum b/devel/libtool/files/patch-sum index f1e44f7a6ea..b23b9e8c5e8 100644 --- a/devel/libtool/files/patch-sum +++ b/devel/libtool/files/patch-sum @@ -1,6 +1,3 @@ -$NetBSD: patch-sum,v 1.3 2000/05/02 18:48:40 danw Exp $ +$NetBSD: patch-sum,v 1.4 2000/05/31 17:25:55 rh Exp $ -This placeholder file is generated by the ``makepatchsum'' target -whenever the patches directory is empty or missing. Its purpose -is to ensure that the presence of any obsolete patches will cause -the proper error to be emitted at build time. +MD5 (patch-aa) = 3360a0a89685cd87223e951550b11b66 diff --git a/devel/libtool/patches/patch-aa b/devel/libtool/patches/patch-aa new file mode 100644 index 00000000000..e63b28dad85 --- /dev/null +++ b/devel/libtool/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.9 2000/05/31 17:25:56 rh Exp $ + +--- ltconfig.in.orig Wed May 31 19:08:31 2000 ++++ ltconfig.in Wed May 31 19:13:22 2000 +@@ -1194,11 +1194,11 @@ + + 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' +- else + archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' + # can we support soname and/or expsyms with a.out? -oliva ++ else ++ 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' + fi + ;; + +@@ -2012,6 +2012,9 @@ + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + 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' |