diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-03-19 15:10:41 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-03-19 15:10:41 +0000 |
commit | b999f6fb41b0249e45d2b403e749c324c3e5c8d8 (patch) | |
tree | 37ad6b3254bc3c2ac05784597dbc9054f2059d5c /sys-fs/nilfs-utils | |
parent | make check for CONFIG_DEVTMPFS critical. If this is not set, udev will not run. (diff) | |
download | gentoo-2-b999f6fb41b0249e45d2b403e749c324c3e5c8d8.tar.gz gentoo-2-b999f6fb41b0249e45d2b403e749c324c3e5c8d8.tar.bz2 gentoo-2-b999f6fb41b0249e45d2b403e749c324c3e5c8d8.zip |
Check POSIX_MQUEUE kernel config. #396159
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/nilfs-utils')
-rw-r--r-- | sys-fs/nilfs-utils/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/nilfs-utils/nilfs-utils-2.1.0.ebuild | 21 |
2 files changed, 23 insertions, 3 deletions
diff --git a/sys-fs/nilfs-utils/ChangeLog b/sys-fs/nilfs-utils/ChangeLog index a648347a9fec..2522eb223df9 100644 --- a/sys-fs/nilfs-utils/ChangeLog +++ b/sys-fs/nilfs-utils/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/nilfs-utils # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/nilfs-utils/ChangeLog,v 1.14 2012/02/22 18:57:16 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/nilfs-utils/ChangeLog,v 1.15 2012/03/19 15:10:41 naota Exp $ + + 19 Mar 2012; Naohiro Aota <naota@gentoo.org> nilfs-utils-2.1.0.ebuild: + Check POSIX_MQUEUE kernel config. #396159 22 Feb 2012; Jeroen Roovers <jer@gentoo.org> nilfs-utils-2.1.0.ebuild: Marked ~hppa (bug #276410). diff --git a/sys-fs/nilfs-utils/nilfs-utils-2.1.0.ebuild b/sys-fs/nilfs-utils/nilfs-utils-2.1.0.ebuild index c0ca2e91853d..4c7090c3ae3a 100644 --- a/sys-fs/nilfs-utils/nilfs-utils-2.1.0.ebuild +++ b/sys-fs/nilfs-utils/nilfs-utils-2.1.0.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/sys-fs/nilfs-utils/nilfs-utils-2.1.0.ebuild,v 1.2 2012/02/22 18:57:16 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/nilfs-utils/nilfs-utils-2.1.0.ebuild,v 1.3 2012/03/19 15:10:41 naota Exp $ EAPI=3 -inherit multilib +inherit multilib linux-mod DESCRIPTION="A New Implementation of a Log-structured File System for Linux" HOMEPAGE="http://www.nilfs.org/" @@ -19,6 +19,23 @@ RDEPEND="sys-libs/e2fsprogs-libs" DEPEND="${DEPEND} sys-kernel/linux-headers" +pkg_setup() { + linux-mod_pkg_setup + ebegin "Checking for POSIX MQUEUE support" + linux_chkconfig_present POSIX_MQUEUE + eend $? + + if [[ $? -ne 0 ]]; then + eerror "Plese enable POSIX Message Queues support" + eerror + eerror " General setup" + eerror " [*] POSIX Message Queues" + eerror + eerror "and recompile your kernel ..." + die "POSIX Message Queues support not detected!" + fi +} + src_configure() { econf $(use_enable static-libs static) } |