From owner-svn-ports-all@FreeBSD.ORG Fri Feb 28 03:04:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5E0FE49; Fri, 28 Feb 2014 03:04:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B63715D1; Fri, 28 Feb 2014 03:04:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1S34KBm043369; Fri, 28 Feb 2014 03:04:20 GMT (envelope-from sbruno@svn.freebsd.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1S34KTF043365; Fri, 28 Feb 2014 03:04:20 GMT (envelope-from sbruno@svn.freebsd.org) Message-Id: <201402280304.s1S34KTF043365@svn.freebsd.org> From: Sean Bruno Date: Fri, 28 Feb 2014 03:04:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346428 - in head/lang/python27: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 03:04:20 -0000 Author: sbruno (src committer) Date: Fri Feb 28 03:04:19 2014 New Revision: 346428 URL: http://svnweb.freebsd.org/changeset/ports/346428 QAT: https://qat.redports.org/buildarchive/r346428/ Log: Unbreak python module builds across the tree as a result of clang 3.4 import now disallowing the use of -R. Submitted by: antoine Reviewed by: gjb Added: head/lang/python27/files/patch-Lib__distutils__unixccompiler.py (contents, props changed) Modified: head/lang/python27/Makefile Modified: head/lang/python27/Makefile ============================================================================== --- head/lang/python27/Makefile Fri Feb 28 01:59:31 2014 (r346427) +++ head/lang/python27/Makefile Fri Feb 28 03:04:19 2014 (r346428) @@ -3,7 +3,7 @@ PORTNAME= python27 PORTVERSION= 2.7.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} Added: head/lang/python27/files/patch-Lib__distutils__unixccompiler.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/python27/files/patch-Lib__distutils__unixccompiler.py Fri Feb 28 03:04:19 2014 (r346428) @@ -0,0 +1,11 @@ +--- ./Lib/distutils/unixccompiler.py.orig 2013-11-10 07:36:40.000000000 +0000 ++++ ./Lib/distutils/unixccompiler.py 2014-02-19 15:41:48.000000000 +0000 +@@ -228,6 +228,8 @@ + if sys.platform[:6] == "darwin": + # MacOSX's linker doesn't understand the -R flag at all + return "-L" + dir ++ elif sys.platform[:7] == "freebsd": ++ return "-Wl,-rpath=" + dir + elif sys.platform[:5] == "hp-ux": + if self._is_gcc(compiler): + return ["-Wl,+s", "-L" + dir]