public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-libs/libpciaccess/
Date: Wed, 30 Apr 2014 18:32:40 +0000 (UTC)	[thread overview]
Message-ID: <1398882750.2c7bf8226a4299cd4d5a254042d06876afb0b921.mgorny@gentoo> (raw)

commit:     2c7bf8226a4299cd4d5a254042d06876afb0b921
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 18:32:30 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 18:32:30 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=2c7bf822

x11-libs/libpciaccess: Use multilib_src_install().

Package-Manager: portage-2.2.10

---
 x11-libs/libpciaccess/libpciaccess-9999.ebuild | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/x11-libs/libpciaccess/libpciaccess-9999.ebuild b/x11-libs/libpciaccess/libpciaccess-9999.ebuild
index a8669db..9f7e538 100644
--- a/x11-libs/libpciaccess/libpciaccess-9999.ebuild
+++ b/x11-libs/libpciaccess/libpciaccess-9999.ebuild
@@ -12,30 +12,24 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd6
 IUSE="minimal zlib"
 
 DEPEND="!<x11-base/xorg-server-1.5
-	zlib? ( sys-libs/zlib )"
+	zlib? (	sys-libs/zlib[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
 	sys-apps/hwids"
 
-src_configure() {
+pkg_setup() {
+	xorg-2_pkg_setup
+
 	XORG_CONFIGURE_OPTIONS=(
 		"$(use_with zlib)"
 		"--with-pciids-path=${EPREFIX}/usr/share/misc"
 	)
-	xorg-2_src_configure
 }
 
-src_install() {
-	xorg-2_src_install
-
-	if ! use minimal; then
-		scanpci_install() {
-			${BASH} "${AUTOTOOLS_BUILD_DIR:-${S}}/libtool" \
-				--mode=install "$(type -P install)" -c \
-				"${AUTOTOOLS_BUILD_DIR:-${S}}/scanpci/scanpci" \
-				"${ED}"/usr/bin || die
-		}
+multilib_src_install() {
+	default
 
-		dodir /usr/bin || die
-		multilib_foreach_impl scanpci_install
+	if multilib_is_native_abi; then
+		dodir /usr/bin
+		${BASH} libtool --mode=install "$(type -P install)" -c scanpci/scanpci "${ED}"/usr/bin || die
 	fi
 }


             reply	other threads:[~2014-04-30 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 18:32 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-01 18:58 [gentoo-commits] proj/x11:master commit in: x11-libs/libpciaccess/ Matt Turner
2011-12-19  0:50 Chi-Thanh Christopher Nguyen
2011-04-15 19:04 Michał Górny

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=1398882750.2c7bf8226a4299cd4d5a254042d06876afb0b921.mgorny@gentoo \
    --to=mgorny@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