From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 29EAA139085 for ; Wed, 8 Feb 2017 18:10:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FB7AE0C44; Wed, 8 Feb 2017 18:10:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 626A2E0C44 for ; Wed, 8 Feb 2017 18:10:11 +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 4C35334165F for ; Wed, 8 Feb 2017 18:10:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 801473D60 for ; Wed, 8 Feb 2017 18:10:05 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1486577401.1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/findlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/findlib/findlib-1.7.1.ebuild X-VCS-Directories: dev-ml/findlib/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe X-VCS-Branch: master Date: Wed, 8 Feb 2017 18:10:05 +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: f5b5522b-c273-41ab-8f05-362230f99515 X-Archives-Hash: 5761587533de38c178779ef94baf893e commit: 1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe Author: Alexis Ballier gentoo org> AuthorDate: Wed Feb 8 18:09:48 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Feb 8 18:10:01 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca7e171 dev-ml/findlib: export variables in src_prepare rather than calling functions at global scope, bug #593418 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ml/findlib/findlib-1.7.1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-ml/findlib/findlib-1.7.1.ebuild b/dev-ml/findlib/findlib-1.7.1.ebuild index 052be47043..77861ad2d4 100644 --- a/dev-ml/findlib/findlib-1.7.1.ebuild +++ b/dev-ml/findlib/findlib-1.7.1.ebuild @@ -20,11 +20,10 @@ DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] tk? ( dev-ml/labltk:= )" RDEPEND="${DEPEND}" -ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" -stublibs="${ocamlfind_destdir}/stublibs" - src_prepare() { epatch "${FILESDIR}/externalmeta4.patch" + export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" + export stublibs="${ocamlfind_destdir}/stublibs" } src_configure() {