Description: install plugins to $libdir
 This patch removes the special casing of the nss plugin to be
 installed in slibdir=/lib (/lib64 on sparc64). Instead it is simply
 installed in $libdir and it is the job of debian/rules to corectly
 set this.
Author: Goswin von Brederlow <goswin-v-b@web.de>
Last-Updated: 2012-06-30

Index: libnss-db-2.2.3pre1/configure.in
===================================================================
--- libnss-db-2.2.3pre1.orig/configure.in	2012-06-30 17:54:30.000000000 +0200
+++ libnss-db-2.2.3pre1/configure.in	2012-06-30 17:55:03.000000000 +0200
@@ -110,29 +110,7 @@
 SELINUX_LIBS="$LIBS"
 LIBS="$libsave"
 
-slibdir=NONE
-case "$host" in
-*-linux*)
-  # The Linux filesystem standard prescribed where to place "essential"
-  # files.  I.e., when the installation prefix is "/usr" we have to place
-  # shared library objects on the root partition in /lib.
-  if test "$prefix" = "/usr" -o "$prefix" = "/usr"; then
-    # 64bit libraries on sparc go to /lib64 and not /lib
-    if test "$host_cpu" = "sparc64"; then
-      slibdir="/lib64"
-      if test "$libdir" = '${exec_prefix}/lib'; then
-        libdir='${exec_prefix}/lib64';
-      fi
-    else
-      slibdir="/lib"
-    fi
-  fi
-  ;;
-esac
-
-if test "$slibdir" = "NONE"; then
-  slibdir='${libdir}'
-fi
+slibdir='${libdir}'
 
 AC_SUBST(DB_CFLAGS)
 AC_SUBST(DB_LIBS)
