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 D0505138CD8 for ; Fri, 5 Jun 2015 07:33:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28B36E0887; Fri, 5 Jun 2015 07:33:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB0F5E0887 for ; Fri, 5 Jun 2015 07:33:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 680B2340DED for ; Fri, 5 Jun 2015 07:33:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15623A10 for ; Fri, 5 Jun 2015 07:33:44 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1433489534.3b6a89c3e3d5a081401a08d27e94da375574b93e.bircoph@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/pythia/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/pythia/ChangeLog sci-physics/pythia/pythia-8.2.09-r1.ebuild sci-physics/pythia/pythia-8.2.09.ebuild X-VCS-Directories: sci-physics/pythia/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 3b6a89c3e3d5a081401a08d27e94da375574b93e X-VCS-Branch: master Date: Fri, 5 Jun 2015 07:33:44 +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: b54ac5b7-d201-4191-9b2f-5ef56eab57ff X-Archives-Hash: 6753ab1f549d746b7718e3834515fb2e commit: 3b6a89c3e3d5a081401a08d27e94da375574b93e Author: Andrew Savchenko gmail com> AuthorDate: Fri Jun 5 07:32:14 2015 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Fri Jun 5 07:32:14 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3b6a89c3 sci-physics/pythia: ready for ~arch sci-physics/pythia/ChangeLog | 6 ++++++ ...ythia-8.2.09.ebuild => pythia-8.2.09-r1.ebuild} | 25 +++++++++++----------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog index ae20b92..ff984f4 100644 --- a/sci-physics/pythia/ChangeLog +++ b/sci-physics/pythia/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.62 2015/05/27 14:06:39 bircoph Exp $ +*pythia-8.2.09-r1 (05 Jun 2015) + + 05 Jun 2015; Andrew Savchenko -pythia-8.2.09.ebuild, + +pythia-8.2.09-r1.ebuild: + Fix LDFLAGS support, re-enable static-libs. + 05 Jun 2015; Andrew Savchenko pythia-8.2.09.ebuild, +files/pythia8209-root-noninteractive.patch, +files/pythia8209-run-tests.patch: diff --git a/sci-physics/pythia/pythia-8.2.09.ebuild b/sci-physics/pythia/pythia-8.2.09-r1.ebuild similarity index 90% rename from sci-physics/pythia/pythia-8.2.09.ebuild rename to sci-physics/pythia/pythia-8.2.09-r1.ebuild index b112f9a..ded0fe5 100644 --- a/sci-physics/pythia/pythia-8.2.09.ebuild +++ b/sci-physics/pythia/pythia-8.2.09-r1.ebuild @@ -25,8 +25,8 @@ SRC_URI="http://home.thep.lu.se/~torbjorn/${PN}${MV}/${MY_P}.tgz SLOT="8" LICENSE="GPL-2" -KEYWORDS="" -IUSE="doc examples gzip +hepmc fastjet lhapdf root test" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples gzip +hepmc fastjet lhapdf root static-libs test" RDEPEND=" fastjet? ( >=sci-physics/fastjet-3 ) @@ -62,6 +62,9 @@ src_prepare() { -e "s:-O2:${CXXFLAGS}:g" \ -e "s:Cint:Core:g" \ configure || die + sed -i 's:$(CXX) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED):$(CXX) $(LDFLAGS) $^ -o $@ $(CXX_COMMON) $(CXX_SHARED):g' \ + Makefile || die + sed -i 's:$(CXX):$(CXX) $(LDFLAGS):' examples/Makefile || die # we use lhapdf6 instead of lhapdf5 # some PDFs changed, use something similar sed -i \ @@ -79,18 +82,16 @@ src_prepare() { -e "s:nlo_as_0119_qed:nlo_as_0119_qed_mc:g" \ -e "s:xmldoc:share/Pythia8/xmldoc:g" \ examples/main54.cc || die - # ask cflags from root sed -i "s:root-config:root-config --cflags:g" examples/Makefile || die -# if ! use static-libs; then -# sed -i \ -# -e '/targets.*=$(LIBDIR.*\.a$/d' \ -# -e 's/+=\(.*libpythia8\.\)/=\1/' \ -# Makefile || die -# sed -i \ -# -e 's:\.a:\.so:g' \ -# examples/Makefile || die -# fi + if ! use static-libs; then + sed -i \ + -e '/TARGETS=$(LOCAL_LIB)\/libpythia8\.a/d' \ + -e 's:libpythia8\.a$:libpythia8\.so$:g' \ + Makefile || die + sed -i 's:libpythia8\.a:libpythia8\.so:g' \ + examples/Makefile || die + fi epatch "${FILESDIR}/${PN}8209-run-tests.patch" epatch "${FILESDIR}/${PN}8209-root-noninteractive.patch"