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 @@ -4,8 +4,10 @@ ohnobinki's attempt at convincing ltdl.m to delete that special type of libtool archive which has no use on a modern GNU/Linux system. +bourne+POSIX compatibility fixed by ferret_, reviewed by tommy[d]. + diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4 -index 111fac1..4bedc34 100644 +index 111fac1..0e823ed 100644 --- a/libltdl/m4/ltdl.m4 +++ b/libltdl/m4/ltdl.m4 @@ -282,8 +282,11 @@ AC_ARG_WITH([ltdl_lib], @@ -17,7 +19,7 @@ index 111fac1..4bedc34 100644 + # 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.) -+ with_ltdl_lib_libname=$(echo "$with_ltdl_lib"/libltdl.*) 2>/dev/null ++ 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']) fi