$OpenBSD$

http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/security/py-kerberos/patches/patch-setup.py?rev=1.1

Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -80,6 +80,8 @@ extra_link_args = getoutput("krb5-config --libs gssapi
 
 extra_compile_args = getoutput("krb5-config --cflags gssapi").split()
 
+if getoutput("krb5-config --version").find("heimdal") != -1:
+    extra_compile_args.append("-DHEIMDAL")
 
 #
 # Set up Extension modules that need to be built
