public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/
Date: Wed, 25 May 2016 02:46:43 +0000 (UTC)	[thread overview]
Message-ID: <1464144368.70ba89af110593ada4ba751903ec16cde6daddbf.mr_bones_@gentoo> (raw)

commit:     70ba89af110593ada4ba751903ec16cde6daddbf
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 02:45:42 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed May 25 02:46:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ba89af

games-arcade/diameter: work around the hand-rolled python detection code (bug #582888)

Package-Manager: portage-2.2.28

 games-arcade/diameter/diameter-0.4.0.3-r1.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild b/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
index fab5994..53de387 100644
--- a/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
+++ b/games-arcade/diameter/diameter-0.4.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,16 +28,26 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/gamediameter
 
+pkg_setup() {
+	python-any-r1_pkg_setup
+	games_pkg_setup
+}
+
 src_prepare() {
 	sed -i \
 		-e "s:gamediameter:diameter:" \
 		configure.in || die
 	mv configure.in configure.ac || die
+	sed -i \
+		-e '/for i in .*\/lib/s:".*:/usr/lib/ ; do:' \
+		-e "/AC_SUBST.*LDFLAGS/s/\".*\"/\$PYTHON_LIBS/" \
+		acinclude.m4 || die
 	# bug #336812
 	sed -i \
 		-e '/gui nebular3.gif/s/gui//' \
 		data/texture/Makefile.am || die
 	eautoreconf
+	python_export PYTHON PYTHON_LIBS
 }
 
 src_install() {


             reply	other threads:[~2016-05-25  2:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25  2:46 Michael Sterrett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-26 23:35 [gentoo-commits] repo/gentoo:master commit in: games-arcade/diameter/ David Seifert
2019-03-17 21:58 James Le Cuirot

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=1464144368.70ba89af110593ada4ba751903ec16cde6daddbf.mr_bones_@gentoo \
    --to=mr_bones_@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