diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-03-06 17:49:09 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-03-06 17:49:09 +0000 |
commit | 2b70b6e70c6712cf101299cdb10b723a699cbd5b (patch) | |
tree | 17a4a25bb7a15102357da2f4547571bab0fd4a80 /app-admin | |
parent | Since oldest util-linux in tree is 2.19.1 and --fake --no-canonicalize for mo... (diff) | |
download | gentoo-2-2b70b6e70c6712cf101299cdb10b723a699cbd5b.tar.gz gentoo-2-2b70b6e70c6712cf101299cdb10b723a699cbd5b.tar.bz2 gentoo-2-2b70b6e70c6712cf101299cdb10b723a699cbd5b.zip |
Fix building without perl
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/collectd/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/collectd/collectd-5.2.1.ebuild | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/app-admin/collectd/ChangeLog b/app-admin/collectd/ChangeLog index 9b1c37eb29c9..4997ff63ca6f 100644 --- a/app-admin/collectd/ChangeLog +++ b/app-admin/collectd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/collectd # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/ChangeLog,v 1.50 2013/03/05 21:26:50 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/ChangeLog,v 1.51 2013/03/06 17:49:09 hwoarang Exp $ + + 06 Mar 2013; Markos Chandras <hwoarang@gentoo.org> collectd-5.2.1.ebuild: + Fix building without perl *collectd-5.2.1 (05 Mar 2013) diff --git a/app-admin/collectd/collectd-5.2.1.ebuild b/app-admin/collectd/collectd-5.2.1.ebuild index 254fd0aff5f9..3699b2107909 100644 --- a/app-admin/collectd/collectd-5.2.1.ebuild +++ b/app-admin/collectd/collectd-5.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.2.1.ebuild,v 1.1 2013/03/05 21:26:50 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.2.1.ebuild,v 1.2 2013/03/06 17:49:09 hwoarang Exp $ EAPI="4" @@ -288,8 +288,11 @@ src_configure() { myconf+=" --with-libiptc=no" fi - # The perl bindings - myconf+=" $(use_with perl perl-bindings=INSTALLDIRS=vendor)" + if use perl; then + myconf+=" --with-perl-bindings=INSTALLDIRS=vendor" + else + myconf+=" --without-perl-bindings" + fi # Finally, run econf. KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf} |