[103239] trunk/dports/net/wireshark-devel
larryv at macports.org
larryv at macports.org
Tue Feb 19 00:59:31 PST 2013
Revision: 103239
https://trac.macports.org/changeset/103239
Author: larryv at macports.org
Date: 2013-02-19 00:59:31 -0800 (Tue, 19 Feb 2013)
Log Message:
-----------
wireshark-devel: Patch configure to find kerberos5 1.11 (#37924).
Modified Paths:
--------------
trunk/dports/net/wireshark-devel/Portfile
Added Paths:
-----------
trunk/dports/net/wireshark-devel/files/
trunk/dports/net/wireshark-devel/files/patch-configure.diff
Modified: trunk/dports/net/wireshark-devel/Portfile
===================================================================
--- trunk/dports/net/wireshark-devel/Portfile 2013-02-19 08:58:03 UTC (rev 103238)
+++ trunk/dports/net/wireshark-devel/Portfile 2013-02-19 08:59:31 UTC (rev 103239)
@@ -6,6 +6,8 @@
name wireshark-devel
epoch 2
version 1.8.5
+revision 1
+patchfiles patch-configure.diff
categories net
license {GPL-2 GPL-3}
maintainers gmail.com:hsivank
Added: trunk/dports/net/wireshark-devel/files/patch-configure.diff
===================================================================
--- trunk/dports/net/wireshark-devel/files/patch-configure.diff (rev 0)
+++ trunk/dports/net/wireshark-devel/files/patch-configure.diff 2013-02-19 08:59:31 UTC (rev 103239)
@@ -0,0 +1,14 @@
+--- configure.b 2013-01-29 10:27:10.000000000 -0800
++++ configure 2013-02-04 10:42:55.000000000 -0800
+@@ -26489,8 +26489,9 @@
+ CPPFLAGS="$CPPFLAGS -I$krb5_dir/include"
+ ac_heimdal_version=`grep heimdal $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*heimdal.*$/HEIMDAL/'`
+ # MIT Kerberos moved krb5.h to krb5/krb5.h starting with release 1.5
+- ac_mit_version_olddir=`grep 'Massachusetts Institute of Technology' $krb5_dir/include/krb5.h | head -n 1 | sed 's/^.*Massachusetts Institute of Technology.*$/MIT/'`
+- ac_mit_version_newdir=`grep 'Massachusetts Institute of Technology' $krb5_dir/include/krb5/krb5.h | head -n 1 | sed 's/^.*Massachusetts Institute of Technology.*$/MIT/'`
++
++ ac_mit_version_olddir=`head -20 "$krb5_dir/include/krb5.h" | perl -e 'while (<>) {$line = $_; chomp $line; $allLines .= " $line";} if ($allLines =~ /Massachusetts.*Institute of Technology/s) {print "MIT";}'`
++ ac_mit_version_newdir=`head -20 "$krb5_dir/include/krb5/krb5.h" | perl -e 'while (<>) {$line = $_; chomp $line; $allLines .= " $line";} if ($allLines =~ /Massachusetts.*Institute of Technology/s) {print "MIT";}'`
+ ac_krb5_version="$ac_heimdal_version$ac_mit_version_olddir$ac_mit_version_newdir"
+ if test "x$ac_krb5_version" = "xHEIMDAL"
+ then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130219/2cdcab47/attachment-0001.html>
More information about the macports-changes
mailing list