summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-19 17:52:29 +0000
committerMike Frysinger <vapier@gentoo.org>2011-10-19 17:52:29 +0000
commit06f9b539f50a980bacc9bbd17b315575221ca2d7 (patch)
tree8a9b18e43b3f1c8478e71086f46422cd7550500f /sys-libs/libnih/libnih-1.0.3.ebuild
parentRevision bump to fix two issues with the init script reported by Alexander Y.... (diff)
downloadhistorical-06f9b539f50a980bacc9bbd17b315575221ca2d7.tar.gz
historical-06f9b539f50a980bacc9bbd17b315575221ca2d7.tar.bz2
historical-06f9b539f50a980bacc9bbd17b315575221ca2d7.zip
Fix build when USE=-dbus.
Package-Manager: portage-2.2.0_alpha65/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/libnih/libnih-1.0.3.ebuild')
-rw-r--r--sys-libs/libnih/libnih-1.0.3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/libnih/libnih-1.0.3.ebuild b/sys-libs/libnih/libnih-1.0.3.ebuild
index 934331c7a09a..24e4a00579a6 100644
--- a/sys-libs/libnih/libnih-1.0.3.ebuild
+++ b/sys-libs/libnih/libnih-1.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/libnih-1.0.3.ebuild,v 1.1 2011/10/19 17:27:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/libnih-1.0.3.ebuild,v 1.2 2011/10/19 17:52:29 vapier Exp $
EAPI="2"
@@ -13,7 +13,7 @@ SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+do
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="dbus nls static-libs test +threads"
+IUSE="+dbus nls static-libs test +threads"
RDEPEND="dbus? ( dev-libs/expat >=sys-apps/dbus-1.2.16 )"
DEPEND="${RDEPEND}
@@ -40,7 +40,7 @@ src_install() {
emake DESTDIR="${D}" install || die
# we need to be in / because upstart needs libnih
- gen_usr_ldscript -a nih nih-dbus
+ gen_usr_ldscript -a nih $(use dbus && echo nih-dbus)
use static-libs || rm "${D}"/usr/lib*/*.la
dodoc AUTHORS ChangeLog HACKING NEWS README TODO