the patch that is applied to configure.in (files/ldap_config.patch) fixes the
problem, but the ebuild doesn't run autoconf to make it work (and configure
doesn't seem to detect the change, at least not on my system).
FIX: insert
cd ${S}; autoconf
after the patch command in src_unpack
Here you go:
--- autofs-3.1.7-r5.ebuild.orig 2003-05-25 17:22:19.000000000 +0200
+++ autofs-3.1.7-r5.ebuild 2003-08-27 21:30:12.000000000 +0200
@@ -22,6 +22,9 @@
cd ${S}/include
patch -p0 < ${FILESDIR}/automount.diff || die
+
+ cd ${S}
+ autoconf
cd ${S}/daemon
mv Makefile Makefile.orig