diff options
Diffstat (limited to 'dev-libs/libpcre/files')
-rw-r--r-- | dev-libs/libpcre/files/digest-libpcre-6.3 | 1 | ||||
-rw-r--r-- | dev-libs/libpcre/files/pcre-6.3-link.patch | 11 | ||||
-rw-r--r-- | dev-libs/libpcre/files/pcre-6.3-uclibc-tuple.patch | 53 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/libpcre/files/digest-libpcre-6.3 b/dev-libs/libpcre/files/digest-libpcre-6.3 new file mode 100644 index 000000000000..0a44697aa00b --- /dev/null +++ b/dev-libs/libpcre/files/digest-libpcre-6.3 @@ -0,0 +1 @@ +MD5 e6779ead12cd20fa055fb3a05b004f2c pcre-6.3.tar.bz2 565852 diff --git a/dev-libs/libpcre/files/pcre-6.3-link.patch b/dev-libs/libpcre/files/pcre-6.3-link.patch new file mode 100644 index 000000000000..48af0ddb2847 --- /dev/null +++ b/dev-libs/libpcre/files/pcre-6.3-link.patch @@ -0,0 +1,11 @@ +--- pcre-6.3/Makefile.in.orig 2005-08-22 13:27:12.000000000 -0700 ++++ pcre-6.3/Makefile.in 2005-08-22 13:27:51.000000000 -0700 +@@ -105,7 +105,7 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $( + LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC) + @ON_WINDOWS@LINK = $(CC) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs + @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -I. -I$(top_srcdir) +-LINKLIB = $(LIBTOOL) --mode=link $(CC) -export-symbols-regex '^[^_]|__?pcre_.*utf8|__?pcre_printint' $(LDFLAGS) -I. -I$(top_srcdir) ++LINKLIB = $(LIBTOOL) --mode=link $(CC) -export-symbols-regex '^[^_]|__?pcre_.*utf8|__?pcre_printint' $(LDFLAGS) -I. -I$(top_srcdir) -L. -L.libs + LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -I. -I$(top_srcdir) + @ON_WINDOWS@CXXLINK = $(CXX) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs + @NOT_ON_WINDOWS@CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -I. -I$(top_srcdir) diff --git a/dev-libs/libpcre/files/pcre-6.3-uclibc-tuple.patch b/dev-libs/libpcre/files/pcre-6.3-uclibc-tuple.patch new file mode 100644 index 000000000000..127171d5d2e4 --- /dev/null +++ b/dev-libs/libpcre/files/pcre-6.3-uclibc-tuple.patch @@ -0,0 +1,53 @@ +diff -Naurp pcre-6.3.orig/configure pcre-6.3/configure +--- pcre-6.3.orig/configure 2005-08-18 06:08:28.000000000 -0700 ++++ pcre-6.3/configure 2005-08-22 13:25:36.000000000 -0700 +@@ -3410,10 +3410,15 @@ irix5* | irix6* | nonstopux*) + ;; + + # This must be Linux ELF. +-linux*) ++linux-gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + ++linux-uclibc*) ++ lt_cv_deplibs_check_method=pass_all ++ lt_cv_file_magic_test_file=`echo /lib/uClibc-*.so` ++ ;; ++ + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' +@@ -7759,7 +7764,7 @@ linux*oldld* | linux*aout* | linux*coff* + ;; + + # This must be Linux ELF. +-linux*) ++linux-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no +@@ -7819,6 +7824,23 @@ linux*) + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + ;; + ++linux-uclibc*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ++ soname_spec='${libname}${release}.so$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ # This implies no fast_install, which is unacceptable. ++ # Some rework will be needed to allow for fast_install ++ # before this can be enabled. ++ hardcode_into_libs=yes ++ # Assume using the uClibc dynamic linker is in use. ++ dynamic_linker='uClibc ld.so' ++ ;; ++ + knetbsd*-gnu) + version_type=linux + need_lib_prefix=no |