From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A48A138253 for ; Thu, 12 May 2016 13:41:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F08D3E07D1; Thu, 12 May 2016 13:41:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 442BBE07D1 for ; Thu, 12 May 2016 13:41:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1216C340976 for ; Thu, 12 May 2016 13:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19E1133E for ; Thu, 12 May 2016 13:41:18 +0000 (UTC) From: "Michael Haubenwallner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Haubenwallner" Message-ID: <1463058622.6b929c4c6976b5ce78c59e01e205e20f919d0212.haubi@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-lang/python/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: dev-lang/python/python-2.7.11.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: haubi X-VCS-Committer-Name: Michael Haubenwallner X-VCS-Revision: 6b929c4c6976b5ce78c59e01e205e20f919d0212 X-VCS-Branch: master Date: Thu, 12 May 2016 13:41:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 57c8920a-9373-4200-8c11-5f29de89614d X-Archives-Hash: af18f0119b4593791e6a3bb11b2a6808 commit: 6b929c4c6976b5ce78c59e01e205e20f919d0212 Author: Michael Haubenwallner ssi-schaefer com> AuthorDate: Thu May 12 13:08:36 2016 +0000 Commit: Michael Haubenwallner gentoo org> CommitDate: Thu May 12 13:10:22 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6b929c4c python-2.7.11: need -L. first in LDFLAGS dev-lang/python/python-2.7.11.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-lang/python/python-2.7.11.ebuild b/dev-lang/python/python-2.7.11.ebuild index 4906dc2..c43fd1f 100644 --- a/dev-lang/python/python-2.7.11.ebuild +++ b/dev-lang/python/python-2.7.11.ebuild @@ -210,6 +210,13 @@ src_configure() { replace-flags -Os -O3 # comment #14 fi + # Set LDFLAGS so we link modules with -lpython2.7 correctly. + # Needed on FreeBSD unless Python 2.7 is already installed. + # Please query BSD team before removing this! + # On AIX this is not needed, but would record '.' as runpath. + [[ ${CHOST} == *-aix* ]] || + append-ldflags "-L." + if use prefix ; then # for Python's setup.py not to do false assumptions (only looking in # host paths) we need to make explicit where Prefix stuff is @@ -233,13 +240,6 @@ src_configure() { # http://bugs.python.org/issue15506 export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) - # Set LDFLAGS so we link modules with -lpython2.7 correctly. - # Needed on FreeBSD unless Python 2.7 is already installed. - # Please query BSD team before removing this! - # On AIX this is not needed, but would record '.' as runpath. - [[ ${CHOST} == *-aix* ]] || - append-ldflags "-L." - local dbmliborder if use gdbm; then dbmliborder+="${dbmliborder:+:}gdbm"