Index: Authen-Krb5-Admin-0.11/Makefile.PL
--- Authen-Krb5-Admin-0.11/Makefile.PL.orig	2008-02-25 14:43:46 +0100
+++ Authen-Krb5-Admin-0.11/Makefile.PL	2010-01-05 11:23:36 +0100
@@ -31,8 +31,8 @@
 # location of Kerberos 5 libraries and header files
 
 print 'checking for Kerberos 5 prefix ... ';
-my ($PREFIX) = grep { -r "$_/include/krb5.h" }
-                    qw(/opt/krb5 /usr/local /usr /usr/kerberos);
+my ($PREFIX) = grep { -r "$_/include/kerberos/krb5.h" }
+                    qw(@l_prefix@);
 if ($PREFIX) {
     print "$PREFIX\n";
 } else {
@@ -41,8 +41,8 @@
 }
 
 my $KRB5_BINDIR = "$PREFIX/bin"    ;
-my $KRB5_LIBDIR = "$PREFIX/lib"    ;
-my $KRB5_INCDIR = "$PREFIX/include";
+my $KRB5_LIBDIR = "$PREFIX/lib/kerberos"    ;
+my $KRB5_INCDIR = "$PREFIX/include/kerberos";
 
 # any extra libraries or include flags
 
@@ -139,3 +139,4 @@
     PREREQ_PM    => {'Authen::Krb5' => 1.2},
     VERSION_FROM => 'Admin.pm',
 );
+
Index: Authen-Krb5-Easy-0.90/Makefile.PL
--- Authen-Krb5-Easy-0.90/Makefile.PL.orig	2002-04-17 01:24:52 +0200
+++ Authen-Krb5-Easy-0.90/Makefile.PL	2010-01-05 11:23:36 +0100
@@ -4,10 +4,10 @@
 
 # get some stuff we need to know
 print "Enter path to kerberos libraries: ";
-my $krblibs = <STDIN>;
+my $krblibs = $ENV{KRB5_LIB};
 chomp($krblibs);
 print "Enter path to kerberos headers: ";
-my $krbincs = <STDIN>;
+my $krbincs = $ENV{KRB5_INCLUDE};
 chomp($krbincs);
 
 WriteMakefile(
Index: Krb5-1.9/Makefile.PL
--- Krb5-1.9/Makefile.PL.orig	2008-03-16 15:59:50 +0100
+++ Krb5-1.9/Makefile.PL	2010-01-05 11:23:36 +0100
@@ -37,3 +37,4 @@
     'DEFINE'	=> '',
     'INC'	=> "-I${KRB5_INCDIR} $KRB5_EXTRAINCS"
 );
+
