summaryrefslogtreecommitdiff
path: root/devel/libtool/patches/patch-ah
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2002-03-21 09:00:12 +0000
committerskrll <skrll@pkgsrc.org>2002-03-21 09:00:12 +0000
commite0af29a32d3aec2c99c0329b0f702b9f7449b224 (patch)
tree7fea7ceb3a0f1dfe9a3ec4f08674ab72f8346681 /devel/libtool/patches/patch-ah
parentc6fd3e8d8774230744b2e6b00843ced6da0cb2eb (diff)
downloadpkgsrc-e0af29a32d3aec2c99c0329b0f702b9f7449b224.tar.gz
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.
Diffstat (limited to 'devel/libtool/patches/patch-ah')
-rw-r--r--devel/libtool/patches/patch-ah16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/libtool/patches/patch-ah b/devel/libtool/patches/patch-ah
new file mode 100644
index 00000000000..65b009937d3
--- /dev/null
+++ b/devel/libtool/patches/patch-ah
@@ -0,0 +1,16 @@
+$NetBSD: patch-ah,v 1.3 2002/03/21 09:00:13 skrll Exp $
+
+--- demo/configure.orig Wed Mar 20 10:42:55 2002
++++ demo/configure
+@@ -1573,9 +1573,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
+ ;;
+