pkgsrc/devel/libtool/patches/patch-ae
skrll e0af29a32d Fix the pattern that matches valid library files so that it allows '.'
in the library name. This fixes pkg/15981 from Dan McMahill
<dmcmahill@netbsd.org>

Patch up the test configure scripts while we're here.

Bump the PKGREV, but don't require it just yet.
2002-03-21 09:00:12 +00:00

16 lines
544 B
Text

$NetBSD: patch-ae,v 1.5 2002/03/21 09:00:13 skrll Exp $
--- configure.orig Thu Jun 14 05:06:29 2001
+++ configure
@@ -1533,9 +1533,9 @@
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$$'
else
- lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$$'
fi
;;