|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../uclibc/pkg_patch/bdb33-uclibc.patch
|
|
|
|
# Copyright (C) 2006 The OpenSDE Project
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
--- db-3.3.11/dist/configure.orig 2005-01-22 05:56:30.000000000 +0000
|
|
|
|
+++ db-3.3.11/dist/configure 2005-01-22 05:59:53.000000000 +0000
|
|
|
|
@@ -7106,6 +7106,29 @@
|
|
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
|
|
;;
|
|
|
|
|
|
|
|
+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
|
|
|
|
+
|
|
|
|
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
|
|
+ # powerpc, because MkLinux only supported shared libraries with the
|
|
|
|
+ # GNU dynamic linker. Since this was broken with cross compilers,
|
|
|
|
+ # most powerpc-linux boxes support dynamic linking these days and
|
|
|
|
+ # people can always --disable-shared, the test was removed, and we
|
|
|
|
+ # assume the GNU/Linux dynamic linker is in use.
|
|
|
|
+ dynamic_linker='uClibc ld.so'
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
netbsd*)
|
|
|
|
version_type=sunos
|
|
|
|
need_lib_prefix=no
|