summaryrefslogtreecommitdiff
path: root/devel/libtool/patches
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2002-01-04 15:20:25 +0000
committerskrll <skrll@pkgsrc.org>2002-01-04 15:20:25 +0000
commit350f63106de9b8d40e6fd5eef0490b7d4cbfad21 (patch)
treeeaf51ee4f8e8dd05a5f8c64c051422bcac50c931 /devel/libtool/patches
parent6b26900bab3ba102f9647792ae8ddd2f5805dc88 (diff)
downloadpkgsrc-350f63106de9b8d40e6fd5eef0490b7d4cbfad21.tar.gz
Allow objects of the form libfoo_pic.a to be linked into shared objects as
well as the normal shared objects. This means that the new toolchain, that links in libgcc_pic.a, will build proper shared objects again. Bump to nb5 and make this the required version. Fixes pkg/15120 from Matthias Scheler <tron@colwyn.zhadum.de>
Diffstat (limited to 'devel/libtool/patches')
-rw-r--r--devel/libtool/patches/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/libtool/patches/patch-ae b/devel/libtool/patches/patch-ae
new file mode 100644
index 00000000000..edc4a076ce9
--- /dev/null
+++ b/devel/libtool/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.4 2002/01/04 15:20:29 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
+ ;;
+