From 4c1417c70c2a116505063aa5fb17f379049624e6 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 11 Dec 2013 10:29:45 +0000 Subject: The p5-GSSAPI configure script assumes that the output of the SunOS krb5-config will produce an error message. Since we installed a wrapper script to handle the builtin better, there is no longer an error, so avoid that check. --- security/p5-GSSAPI/distinfo | 3 ++- security/p5-GSSAPI/patches/patch-Makefile.PL | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 security/p5-GSSAPI/patches/patch-Makefile.PL (limited to 'security') diff --git a/security/p5-GSSAPI/distinfo b/security/p5-GSSAPI/distinfo index d25effa9486..2d2036dde23 100644 --- a/security/p5-GSSAPI/distinfo +++ b/security/p5-GSSAPI/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2010/07/31 11:52:29 sno Exp $ +$NetBSD: distinfo,v 1.4 2013/12/11 10:29:45 jperkin 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) = 5cf70d9fd3f95f11a41db15869c9d63c1ca944d6 diff --git a/security/p5-GSSAPI/patches/patch-Makefile.PL b/security/p5-GSSAPI/patches/patch-Makefile.PL new file mode 100644 index 00000000000..cffa544312c --- /dev/null +++ b/security/p5-GSSAPI/patches/patch-Makefile.PL @@ -0,0 +1,24 @@ +$NetBSD: patch-Makefile.PL,v 1.1 2013/12/11 10:29:45 jperkin Exp $ + +Handle the pkgsrc krb5-config wrapper for SunOS. + +--- Makefile.PL.orig 2010-04-24 12:37:38.000000000 +0000 ++++ Makefile.PL +@@ -115,7 +115,7 @@ if (exists $options{gssapi_libs} || exis + unless ($libconf) { + die "$krb5cmd does not respond libconf!"; + } else { +- if ($libconf =~ /Unknown/ && $implementation =~ /Solaris Kerberos/) { ++ if ($implementation =~ /Solaris Kerberos/) { + $libconf = "-L/usr/lib -R/usr/lib -lgss"; + } + +@@ -153,7 +153,7 @@ if (exists $options{gssapi_libs} || exis + # + $incconf = '-I/usr/include'; + } +- if ($incconf =~ /Unknown/ && $implementation =~ /Solaris Kerberos/) { ++ if ($implementation =~ /Solaris Kerberos/) { + $incconf = "-I/usr/include/kerberosv5"; + push @EXTRADEFINES, '-DSEAM'; + } -- cgit v1.2.3