summaryrefslogtreecommitdiff
path: root/lang/python33/files/patch-Misc_python-config.in
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2017-09-03 10:33:56 +0000
committerRene Ladan <rene@FreeBSD.org>2017-09-03 10:33:56 +0000
commit42fbd0dcae80321b0a92fc4e5ecdadcf1cb16be3 (patch)
tree80e18c9119a221be6ae122615f16cc21b25d74a5 /lang/python33/files/patch-Misc_python-config.in
parentsecurity/py-cryptography: remove support for expired Python 3.3 (diff)
Remove Python 3.3 and related ports, it expired today:
2017-09-01 lang/python33: No longer receives bug fixes, only security updates. Please update to Python 3.6 databases/py33-gdbm databases/py33-sqlite3 devel/py33-setuptools x11-toolkits/py33-tkinter devel/py3-enum34
Notes
Notes: svn path=/head/; revision=449196
Diffstat (limited to 'lang/python33/files/patch-Misc_python-config.in')
-rw-r--r--lang/python33/files/patch-Misc_python-config.in32
1 files changed, 0 insertions, 32 deletions
diff --git a/lang/python33/files/patch-Misc_python-config.in b/lang/python33/files/patch-Misc_python-config.in
deleted file mode 100644
index 75fe152e619b..000000000000
--- a/lang/python33/files/patch-Misc_python-config.in
+++ /dev/null
@@ -1,32 +0,0 @@
-# pythonx.y-config --ldflags out of /usr and missing -L<install_lib_dir>
-# https://bugs.python.org/issue7352
-
-# Fix library order returned by python-config. [#18096]
-# bugs.python.org/18096
-
---- Misc/python-config.in.orig 2015-10-18 09:00:25 UTC
-+++ Misc/python-config.in
-@@ -22,6 +22,7 @@ except getopt.error:
- if not opts:
- exit_with_usage()
-
-+libdir = sysconfig.get_config_var('exec_prefix') + '/lib'
- pyver = sysconfig.get_config_var('VERSION')
- getvar = sysconfig.get_config_var
-
-@@ -45,11 +46,13 @@ for opt in opt_flags:
- print(' '.join(flags))
-
- elif opt in ('--libs', '--ldflags'):
-- libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
-- libs.append('-lpython' + pyver + sys.abiflags)
-+ libs = ['-lpython' + pyver + sys.abiflags]
-+ libs += getvar('LIBS').split()
-+ libs += getvar('SYSLIBS').split()
- # add the prefix/lib/pythonX.Y/config dir, but only if there is no
- # shared library in prefix/lib/.
- if opt == '--ldflags':
-+ libs.insert(0, '-L' + libdir)
- if not getvar('Py_ENABLE_SHARED'):
- libs.insert(0, '-L' + getvar('LIBPL'))
- if not getvar('PYTHONFRAMEWORK'):