summaryrefslogtreecommitdiff
path: root/lang/python21-pth/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python21-pth/patches/patch-ad')
-rw-r--r--lang/python21-pth/patches/patch-ad23
1 files changed, 0 insertions, 23 deletions
diff --git a/lang/python21-pth/patches/patch-ad b/lang/python21-pth/patches/patch-ad
deleted file mode 100644
index 1cb554c8981..00000000000
--- a/lang/python21-pth/patches/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2002/08/20 19:58:58 drochner Exp $
-
---- Lib/distutils/command/build_ext.py.orig Sat Mar 17 15:15:41 2001
-+++ Lib/distutils/command/build_ext.py
-@@ -461,8 +461,18 @@
- # that go into the mix.
- if ext.extra_objects:
- objects.extend(ext.extra_objects)
-+
-+ # Two possible sources for extra linker arguments:
-+ # - 'extra_link_args' in Extension object
-+ # - LDFLAGS environment variable
-+ # The environment variable should take precedence, and
-+ # any sensible compiler will give precedence to later
-+ # command line args. Hence we combine them in order:
- extra_args = ext.extra_link_args or []
-
-+
-+ if os.environ.has_key('LDFLAGS'):
-+ extra_args.extend(string.split(os.environ['LDFLAGS']))
-
- self.compiler.link_shared_object(
- objects, ext_filename,