head 1.3; access; symbols pkgsrc-2016Q2:1.2.0.10 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.8 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.6 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.4 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.20 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.18 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.16 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.14 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.12 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.10 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.8 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.6 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.4 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.2 pkgsrc-2012Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2016.07.09.13.04.40; author wiz; state dead; branches; next 1.2; commitid SyRfhtrpAsjObEdz; 1.2 date 2015.04.24.03.24.32; author rodent; state Exp; branches; next 1.1; commitid 9Gn5EBfBfVHvbNiy; 1.1 date 2012.12.10.03.15.49; author tsarna; state Exp; branches; next ; desc @@ 1.3 log @Remove python33. @ text @$NetBSD: patch-ab,v 1.2 2015/04/24 03:24:32 rodent Exp $ --- Lib/distutils/command/build_ext.py.orig 2014-10-12 07:03:52.000000000 +0000 +++ Lib/distutils/command/build_ext.py @@@@ -532,8 +532,19 @@@@ class build_ext(Command): # 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.get('LDFLAGS'): + # extra_args = list(extra_args) + # extra_args.extend(string.split(os.environ['LDFLAGS'])) + # Detect target language, if not provided language = ext.language or self.compiler.detect_language(sources) @ 1.2 log @Fix build with LibreSSL. From: https://hg.python.org/cpython/rev/6f23bc5d480e and defuzz patches. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2012/12/10 03:15:49 tsarna Exp $ @ 1.1 log @Add Python 3.3.0 @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Lib/distutils/command/build_ext.py.orig 2012-02-23 20:22:44.000000000 +0000 d5 1 a5 1 @@@@ -523,8 +523,19 @@@@ class build_ext(Command): @