tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mit-krb5/builtin.mk problems on solaris



apparently p5-GSSAPI expects failure with krb5-config, but the attached patch seems to fix that anomaly.

diff --git a/security/p5-GSSAPI/distinfo b/security/p5-GSSAPI/distinfo
index d25effa..4b11786 100644
--- a/security/p5-GSSAPI/distinfo
+++ b/security/p5-GSSAPI/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.3 2010/07/31 11:52:29 sno Exp $
 SHA1 (GSSAPI-0.28.tar.gz) = c857485532e92e266a75b56ed247284f94b2d3d4
 RMD160 (GSSAPI-0.28.tar.gz) = 849d01d39851ec2726559d4f2b92832758a333ad
 Size (GSSAPI-0.28.tar.gz) = 67915 bytes
+SHA1 (patch-Makefile.PL) = e0c2a0dba632e4e31af38dc4dd6404da5cf533d7
diff --git a/security/p5-GSSAPI/patches/patch-Makefile.PL 
b/security/p5-GSSAPI/patches/patch-Makefile.PL
new file mode 100644
index 0000000..d0b0b8b
--- /dev/null
+++ b/security/p5-GSSAPI/patches/patch-Makefile.PL
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- Makefile.PL.orig   2010-04-24 12:37:38.000000000 +0000
++++ Makefile.PL
+@@ -155,7 +155,9 @@ if (exists $options{gssapi_libs} || exis
+     }
+     if ($incconf =~ /Unknown/ && $implementation =~ /Solaris Kerberos/) {
+           $incconf = "-I/usr/include/kerberosv5";
+-          push @EXTRADEFINES,  '-DSEAM';
++      }
++    if ($incconf =~ "/usr/include/kerberosv5") {
++                      push @EXTRADEFINES,  '-DSEAM';
+     }
+     #---------------------------------------------------------------
+     if ( is_heimdal($krb5cmd) ) {


Home | Main Index | Thread Index | Old Index