diff options
author | jkim <jkim@FreeBSD.org> | 2015-07-30 19:54:53 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2015-07-30 19:54:53 +0000 |
commit | 1c945108382e71cc4135d0c7c265cf4965c307c9 (patch) | |
tree | 9f0b289938d39842732ec5624658ab4f08856426 | |
parent | bf20a58cdc1fbb39858fce17a3120d1c1141459c (diff) | |
download | FreeBSD-ports-1c945108382e71cc4135d0c7c265cf4965c307c9.zip FreeBSD-ports-1c945108382e71cc4135d0c7c265cf4965c307c9.tar.gz |
Set path to krb5-config properly.
-rw-r--r-- | security/p5-GSSAPI/files/patch-Makefile.PL | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/security/p5-GSSAPI/files/patch-Makefile.PL b/security/p5-GSSAPI/files/patch-Makefile.PL index e9664d0..fa91132 100644 --- a/security/p5-GSSAPI/files/patch-Makefile.PL +++ b/security/p5-GSSAPI/files/patch-Makefile.PL @@ -1,12 +1,11 @@ --- Makefile.PL.orig 2010-04-24 12:37:38 UTC +++ Makefile.PL -@@ -12,8 +12,7 @@ my @whichcand = qw(/bin/which /usr/bin/w - - my @KRB5_CONFIG_TRIES = ( - -- '/usr/kerberos/bin/krb5-config', # for use with CentOS, as suggested by Mark Hedges in https://rt.cpan.org/Ticket/Display.html?id=48732 -- '/usr/bin/krb5-config', # always worth a try ;-) -+ '%%KRB5CONF%%', # for use with FreeBSD - - ); - +@@ -210,7 +210,7 @@ sub find_krb5config_cmd { + my $r = undef; + unless ($expl_path) { + #my $whichcmd = find_which_command() || die 'cannot locate which command'; +- $r = `which krb5-config 2>/dev/null`; ++ $r = '%%KRB5CONF%%'; + + chomp $r; + unless ( $r ) { |