public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/phenix-bin/
Date: Mon,  3 Aug 2015 12:31:22 +0000 (UTC)	[thread overview]
Message-ID: <1438605076.c9e6af8690a48c72dace0bc5556ec1380da1d73a.jlec@gentoo> (raw)

commit:     c9e6af8690a48c72dace0bc5556ec1380da1d73a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 12:31:16 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 12:31:16 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c9e6af86

sci-chemistry/phenix-bin: Fix for latest linux kernel

Package-Manager: portage-2.2.20

 sci-chemistry/phenix-bin/ChangeLog                  |  3 +++
 sci-chemistry/phenix-bin/phenix-bin-1.9.1692.ebuild | 18 +++++++++++++-----
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/sci-chemistry/phenix-bin/ChangeLog b/sci-chemistry/phenix-bin/ChangeLog
index ca3642f..bd837b5 100644
--- a/sci-chemistry/phenix-bin/ChangeLog
+++ b/sci-chemistry/phenix-bin/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  03 Aug 2015; Justin Lecher <jlec@gentoo.org> phenix-bin-1.9.1692.ebuild:
+  sci-chemistry/phenix-bin: Fix for latest linux kernel
+
   22 Jun 2015; Justin Lecher <jlec@gentoo.org> -phenix-bin-1.8.2.1309.ebuild,
   -phenix-bin-1.8.4.1496.ebuild:
   sci-chemistry/phenix-bin: Drop old

diff --git a/sci-chemistry/phenix-bin/phenix-bin-1.9.1692.ebuild b/sci-chemistry/phenix-bin/phenix-bin-1.9.1692.ebuild
index 83d3d38..bb42371 100644
--- a/sci-chemistry/phenix-bin/phenix-bin-1.9.1692.ebuild
+++ b/sci-chemistry/phenix-bin/phenix-bin-1.9.1692.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 
 WX_GTK_VER=2.8
 
-inherit python-single-r1 versionator wxwidgets
+inherit multilib python-single-r1 versionator wxwidgets
 
 MY_PV="$(replace_version_separator 2 -)"
 MY_P="phenix-installer-${MY_PV}"
@@ -82,7 +82,15 @@ pkg_nofetch() {
 }
 
 src_prepare() {
-	./install --prefix="${S}/foo"
+	cat > "${S}/bin/machine_type" <<-EOF
+	#!${EPREFIX}/bin/sh
+	echo intel-linux-2.6-x86_64
+	exit 0
+	EOF
+}
+
+src_compile() {
+	./install --prefix="${S}/foo" || die
 }
 
 src_install() {
@@ -99,13 +107,13 @@ src_install() {
 			|| die
 
 	dodir /opt
-	mv "${S}/foo/phenix-${MY_PV}" "${ED}/opt/"
+	mv "${S}/foo/phenix-${MY_PV}" "${ED}/opt/" || die
 
 	cat >> phenix <<- EOF
 	#!${EPREFIX}/bin/bash
 
 	source "${EPREFIX}/opt/phenix-${MY_PV}/phenix_env.sh"
-	export LD_LIBRARY_PATH="${EPREFIX}"/usr/$(get_libdir)
+	export LD_LIBRARY_PATH="${EPREFIX}/usr/$(get_libdir)"
 	exec phenix
 	EOF
 	dobin phenix


             reply	other threads:[~2015-08-03 12:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-03 12:31 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-26 14:45 [gentoo-commits] proj/sci:master commit in: sci-chemistry/phenix-bin/ Justin Lecher
2015-09-09  8:11 Justin Lecher
2015-09-09  7:11 Justin Lecher
2015-08-05 13:35 Justin Lecher
2015-06-22 10:58 Justin Lecher
2014-11-14 11:41 Justin Lecher
2014-05-13 10:04 Justin Lecher
2014-05-06 16:44 Justin Lecher
2014-02-25 12:08 Justin Lecher
2013-10-09 19:04 Justin Lecher
2013-08-13 22:20 Nicolas Bock
2013-06-04 11:59 Justin Lecher
2013-03-21  6:54 Justin Lecher
2013-01-17  7:44 Justin Lecher
2012-11-14 15:20 Justin Lecher
2012-11-14 14:41 Justin Lecher
2012-10-09 14:15 Justin Lecher
2012-09-21  6:10 Justin Lecher
2012-09-21  6:00 Justin Lecher
2012-09-21  6:00 Justin Lecher
2012-09-20 12:39 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438605076.c9e6af8690a48c72dace0bc5556ec1380da1d73a.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox