svn commit: r476200 - head/security/py-gssapi/files
Bradley T. Hughes
bhughes at FreeBSD.org
Wed Aug 1 21:11:35 UTC 2018
Author: bhughes
Date: Wed Aug 1 21:11:34 2018
New Revision: 476200
URL: https://svnweb.freebsd.org/changeset/ports/476200
Log:
security/py-gssapi: Fix builds against non-base GSSAPI
Patch setup.py so location of krb5-config is configurable
PR: 229639
Submitted by: john at saltant.com (maintainer)
MFH: 2018Q3
Sponsored by: Miles AS
Added:
head/security/py-gssapi/files/
head/security/py-gssapi/files/patch-setup.py (contents, props changed)
Added: head/security/py-gssapi/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-gssapi/files/patch-setup.py Wed Aug 1 21:11:34 2018 (r476200)
@@ -0,0 +1,28 @@
+--- setup.py.orig 2018-04-06 18:43:07 UTC
++++ setup.py
+@@ -55,7 +55,7 @@ if link_args is None:
+ elif os.environ.get('MINGW_PREFIX'):
+ link_args = '-lgss'
+ else:
+- link_args = get_output('krb5-config --libs gssapi')
++ link_args = get_output('%%KRB5CONFIG%% --libs gssapi')
+
+ if compile_args is None:
+ if osx_has_gss_framework:
+@@ -63,14 +63,14 @@ if compile_args is None:
+ elif os.environ.get('MINGW_PREFIX'):
+ compile_args = '-fPIC'
+ else:
+- compile_args = get_output('krb5-config --cflags gssapi')
++ compile_args = get_output('%%KRB5CONFIG%% --cflags gssapi')
+
+ link_args = link_args.split()
+ compile_args = compile_args.split()
+
+ # add in the extra workarounds for different include structures
+ try:
+- prefix = get_output('krb5-config gssapi --prefix')
++ prefix = get_output('%%KRB5CONFIG%% gssapi --prefix')
+ except Exception:
+ print("WARNING: couldn't find krb5-config; assuming prefix of %s"
+ % str(sys.prefix))
More information about the svn-ports-head
mailing list