summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-07-18 07:26:17 +0000
committerMichael Weber <xmw@gentoo.org>2012-07-18 07:26:17 +0000
commitf4e0cd8447ab544c408fd5eb07e01b0553ba4723 (patch)
tree5b02e7387beb8c4e9f13339bb9e876819272472a /dev-libs/libcss
parentfix inherit (diff)
downloadgentoo-2-f4e0cd8447ab544c408fd5eb07e01b0553ba4723.tar.gz
gentoo-2-f4e0cd8447ab544c408fd5eb07e01b0553ba4723.tar.bz2
gentoo-2-f4e0cd8447ab544c408fd5eb07e01b0553ba4723.zip
fix inherit, test depends on dev-lang/perl.
(Portage version: 2.1.11.8/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libcss')
-rw-r--r--dev-libs/libcss/ChangeLog5
-rw-r--r--dev-libs/libcss/libcss-0.1.2.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/dev-libs/libcss/ChangeLog b/dev-libs/libcss/ChangeLog
index b1c422be90e0..eaf4115bec60 100644
--- a/dev-libs/libcss/ChangeLog
+++ b/dev-libs/libcss/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libcss
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/ChangeLog,v 1.1 2012/07/17 22:54:00 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/ChangeLog,v 1.2 2012/07/18 07:26:17 xmw Exp $
+
+ 18 Jul 2012; Michael Weber <xmw@gentoo.org> libcss-0.1.2.ebuild:
+ fix inherit, test depends on dev-lang/perl.
*libcss-0.1.2 (17 Jul 2012)
diff --git a/dev-libs/libcss/libcss-0.1.2.ebuild b/dev-libs/libcss/libcss-0.1.2.ebuild
index 3ae9a58deed0..83a2913387eb 100644
--- a/dev-libs/libcss/libcss-0.1.2.ebuild
+++ b/dev-libs/libcss/libcss-0.1.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.1.2.ebuild,v 1.1 2012/07/17 22:54:00 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcss/libcss-0.1.2.ebuild,v 1.2 2012/07/18 07:26:17 xmw Exp $
EAPI=4
-inherit multilib
+inherit multilib toolchain-funcs
DESCRIPTION="CSS parser and selection engine, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm"
IUSE="static-libs"
DEPEND=""
-RDEPEND="${DEPEND}"
+RDEPEND="test? ( dev-lang/perl )"
src_prepare() {
sed -e "/^INSTALL_ITEMS/s: /lib: /$(get_libdir):g" \
@@ -40,8 +40,8 @@ src_test() {
}
src_install() {
- emake COMPONENT_TYPE=lib-shared DESTDIR="${D}" PREFIX=/usr install
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-shared install
use static-libs && \
- emake COMPONENT_TYPE=lib-static DESTDIR="${D}" PREFIX=/usr install
+ emake DESTDIR="${D}" PREFIX=/usr COMPONENT_TYPE=lib-static install
dodoc README
}