From owner-svn-ports-all@freebsd.org Fri Dec 25 21:52:00 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82AC7A51875; Fri, 25 Dec 2015 21:52:00 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C52319A0; Fri, 25 Dec 2015 21:52:00 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBPLpxul055034; Fri, 25 Dec 2015 21:51:59 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBPLpxR7055032; Fri, 25 Dec 2015 21:51:59 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201512252151.tBPLpxR7055032@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Fri, 25 Dec 2015 21:51:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404477 - in head/lang/python33: . 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.20 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, 25 Dec 2015 21:52:00 -0000 Author: antoine Date: Fri Dec 25 21:51:59 2015 New Revision: 404477 URL: https://svnweb.freebsd.org/changeset/ports/404477 Log: Restore unixccompiler.py patch, it was not included upstream Added: head/lang/python33/files/patch-Lib_distutils_unixccompiler.py (contents, props changed) Modified: head/lang/python33/Makefile Modified: head/lang/python33/Makefile ============================================================================== --- head/lang/python33/Makefile Fri Dec 25 21:45:05 2015 (r404476) +++ head/lang/python33/Makefile Fri Dec 25 21:51:59 2015 (r404477) @@ -2,6 +2,7 @@ PORTNAME= python33 PORTVERSION= 3.3.6 +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} DISTNAME= Python-${PORTVERSION} Added: head/lang/python33/files/patch-Lib_distutils_unixccompiler.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/python33/files/patch-Lib_distutils_unixccompiler.py Fri Dec 25 21:51:59 2015 (r404477) @@ -0,0 +1,15 @@ +# Description: Some python extensions can't be compiled with clang 3.4 +# Issue ID: http://bugs.python.org/issue20767 +# Submitted by: antoine + +--- Lib/distutils/unixccompiler.py.orig 2014-10-12 07:03:52 UTC ++++ Lib/distutils/unixccompiler.py +@@ -225,6 +225,8 @@ class UnixCCompiler(CCompiler): + 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]