diff --git a/security-libs/pam_ldap/BUILD b/security-libs/pam_ldap/BUILD
index bc0dd2c..2a97c9a 100755
--- a/security-libs/pam_ldap/BUILD
+++ b/security-libs/pam_ldap/BUILD
@@ -5,4 +5,5 @@ if ! [[ -x configure ]]; then
automake --add-missing &&
autoconf
fi &&
+OPTS="$OPTS --libdir=\"$INSTALL_ROOT/lib\"" &&
default_build
diff --git a/security-libs/pam_ldap/HISTORY b/security-libs/pam_ldap/HISTORY
index 9b0d1e1..e7f1804 100644
--- a/security-libs/pam_ldap/HISTORY
+++ b/security-libs/pam_ldap/HISTORY
@@ -3,6 +3,10 @@
install the example ldap.conf as config file (not reaping
it when SA modified it, an important thing...)
+2006-12-17 Thomas Orgis <sobukus AT sourcemage.org>
+ * BUILD,DETAILS: make it install the .so module into /lib/security
+ and updated PATCHLEVEL ... we really want the module there
+
2006-11-17 Arjan Bouter <abouter AT sourcemage.org>
* SECUTIRY_PATCH=1
[SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (8f7f3f0ee3fa7035fae94e91c9a48289d7845909),
Jaka Kranjc, 01/14/2007