diff --git a/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch b/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch --- a/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch +++ b/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch @@ -1,8 +1,9 @@ https://bugs.gentoo.org/293921 -ohnobinki's attempt at convincing ltdl.m4 to permit people -to delete that special type of libtool archive which has -no use on a modern GNU/Linux system. +ohnobinki's attempt at convincing ltdl.m4 to permit people to +delete libltdl.la. This is a special type of libtool archive +which has no use on a modern GNU/Linux system using dynamic +linking. bourne+POSIX compatibility fixed by ferret_, reviewed by tommy[d]. @@ -16,9 +17,9 @@ index 111fac1..0e823ed 100644 if test -n "$with_ltdl_lib"; then - if test -f "$with_ltdl_lib/libltdl.la"; then : - else -+ # check for the existence of "$with_ltdl_lib/libltdl.la" while -+ # allowing people to libtool archive file (which isn't useful -+ # in this case in many common platforms.) ++ # Check for the existence of "$with_ltdl_lib"/libltdl.* -- allow ++ # people to delete libltdl.la (which isn't useful in this case ++ # for many common platforms.) + with_ltdl_lib_libname=`echo "$with_ltdl_lib"/libltdl.*` + if test "x$with_ltdl_lib_libname" = "x$with_ltdl_lib/libltdl.*"; then AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])