openbsd-ports/security/p5-Authen-Krb5-Simple/patches/patch-Makefile_PL
2008-08-26 20:57:27 +00:00

28 lines
844 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.2 2008/08/26 20:57:27 fgsch Exp $
--- Makefile.PL.orig Sun Jul 27 13:29:15 2008
+++ Makefile.PL Sun Jul 27 13:29:26 2008
@@ -55,10 +55,10 @@ if(exists($ENV{KRB5_LIB})) {
# See if the needed libs are available. Take a shot at several "possible"
# locations for these libs.
#
-check_lib_or_exit(
- lib => [qw( krb5 k5crypto com_err )],
- libpath => \@kr_lib_dirs
-);
+#check_lib_or_exit(
+# lib => [qw( krb5 k5crypto com_err )],
+# libpath => \@kr_lib_dirs
+#);
# Write out the Makefile
#
@@ -72,7 +72,7 @@ WriteMakefile(
AUTHOR => 'Damien S. Stuart <dstuart@dstuart.org>')
: ()
),
- 'LIBS' => ["$krb5_lib -lkrb5 -lk5crypto"],
+ 'LIBS' => ["$krb5_lib -lkrb5 -lcrypto -lcom_err"],
'DEFINE' => '',
'INC' => $krb5_inc,
);