Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 03:04:20 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346428 - in head/lang/python27: . files
Message-ID:  <201402280304.s1S34KTF043365@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280304.s1S34KTF043365>